diff --git a/app/pyproject.toml b/app/pyproject.toml index 79770e20..2783e096 100644 --- a/app/pyproject.toml +++ b/app/pyproject.toml @@ -52,7 +52,7 @@ dependencies = [ [project.optional-dependencies] dev = [ "pytest>=8.0", - "ruff>=0.16,<0.17", + "ruff>=0.16,<0.18", ] [tool.setuptools.packages.find] @@ -86,6 +86,9 @@ markers = [ # deliberately deviates from; correctness rules with real findings were fixed # rather than added here. [tool.ruff.lint] +# Ruff 0.17 dropped these from its defaults; keep them on so the rule set is the +# same on 0.16 and 0.17 (the codebase's DTZ noqa comments stay meaningful). +extend-select = ["DTZ001", "DTZ006", "DTZ012", "DTZ901"] ignore = [ # The app catches Exception at edges (best-effort operations, request # handlers, background sync/scheduler ticks) so one bad row/URL never takes