Skip to content
Merged
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
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ otel = ["opentelemetry-api>=1.20"]
gdpr = ["cryptography>=42"]
celery = ["celery>=5"]
django = ["django>=4.2"]
dev = ["pytest>=7", "pytest-cov>=4", "mypy>=1.8", "ruff>=0.5,<0.16"]
dev = ["pytest>=7", "pytest-cov>=4", "mypy>=1.8", "ruff>=0.5,<0.18"]

[project.urls]
Homepage = "https://babelqueue.com"
Expand All @@ -57,6 +57,13 @@ packages = ["src/babelqueue"]
target-version = "py39"
line-length = 100

[tool.ruff.lint]
# Pinned explicitly: this is ruff 0.15's effective default rule set. Newer ruff
# releases (0.17+) widened the implicit default, which broke `ruff check` with
# hundreds of style findings; spelling the set out keeps lint stable across the
# supported ruff range. Do not widen without a deliberate cleanup pass.
select = ["E4", "E7", "E9", "F"]

[tool.mypy]
# Lowest target mypy accepts; the package itself still supports Python 3.9 at
# runtime (requires-python >=3.9) and uses only 3.9-compatible typing.
Expand Down