Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ repos:
- types-Markdown
- types-setuptools

- repo: local
hooks:
- id: ty
name: ty type checker
entry: uv run ty check
language: system
types: [python]
args:
[
--exclude,
"**/venv/**",
--exclude,
"**/.venv/**",
--exclude,
"**/__pycache__/**",
]

- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 38.142.7
hooks:
Expand Down
21 changes: 21 additions & 0 deletions pulumi/test_datasets/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,24 @@ dependencies = [
"pulumi-github>=6.7.2",
"pulumi-onepassword>=1.1.3",
]

[dependency-groups]
dev = [
"ty>=0.0.0a6",
"mypy>=1.11.1",
]

# [tool.ty]
# Configuration for ty type checker - using CLI args for now
# ty is in pre-alpha, configuration format may change

[tool.mypy]
# Keep mypy configuration for comparison/fallback
python_version = "3.12"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
90 changes: 90 additions & 0 deletions pulumi/test_datasets/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[project]
name = "nf-core-ops"
version = "0.1.0"
description = "nf-core operations and infrastructure management"
readme = "README.md"
requires-python = ">=3.12"

[dependency-groups]
dev = [
"ty>=0.0.0a6",
"mypy>=1.11.1",
"pre-commit>=3.0.0",
"ruff>=0.12.0",
]

# [tool.ty]
# Configuration for ty type checker - using CLI args for now
# ty is in pre-alpha, configuration format may change

[tool.mypy]
# Keep mypy configuration for comparison/fallback
python_version = "3.12"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
exclude = [
"venv/",
".venv/",
"__pycache__/",
]

[tool.ruff]
# Keep existing ruff configuration
target-version = "py312"
line-length = 88

[tool.ruff.lint]
extend-select = ["I"] # isort
Loading
Loading