@@ -47,7 +47,7 @@ default-groups = ["dev"]
4747[dependency-groups ]
4848dev = [
4949 " pytest>=9.0.2" ,
50- " ruff==0.15.21 " ,
50+ " ruff==0.15.22 " ,
5151 " ty==0.0.62" ,
5252 " mypy==2.3.0" ,
5353 " watchdog" ,
@@ -81,40 +81,40 @@ ignore = [
8181 " DOC" , # Checks for correct docstring format.
8282 " FBT" , # Checks for Boolean-typed positional argument in function definition.
8383 # Ignored rules (sorted alphabetically):
84- " ANN401 " , # Allow Any type in annotations.
85- " COM812 " , # Trailing comma missing. Not recommended with formatter.
86- " COM819 " , # Trailing comma prohibited. Not recommended with formatter.
87- " D100 " , # Missing docstring in public module.
88- " D101 " , # Missing docstring in public class.
89- " D103 " , # Missing docstring in public function.
90- " D104 " , # Missing docstring in public package.
91- " D107 " , # Missing docstring in __init__.
92- " E501 " , # Line too long. Ignored for user-facing strings and help text.
93- " ERA001 " , # Commented out code.
94- " FIX002 " , # Disallow TODO comments.
95- " FURB152 " , # Math constants should use math module.
96- " PLC0415 " , # Imports not at top-level.
97- " PLC2701 " , # Import of private name.
98- " PLR0904 " , # Too many public methods.
99- " PLR0911 " , # Too many return statements.
100- " PLR0912 " , # Too many branches.
101- " PLR0913 " , # Too many arguments.
102- " PLR0914 " , # Too many local variables.
103- " PLR0915 " , # Too many statements.
104- " PLR0916 " , # Too many boolean expressions.
105- " PLR0917 " , # Too many positional arguments.
106- " PLR1702 " , # Too many nested blocks.
107- " PLR2004 " , # Magic value used in comparison.
108- " PLR6301 " , # Method could be function (no self usage).
109- " PLW0717 " , # Too many statements in try clause.
110- " RET504 " , # Unnecessary assignment before return.
111- " RUF052 " , # Dummy variable accessed.
112- " RUF067 " , # Non-empty __init__ module.
113- " SIM117 " , # Multiple with statements should be combined.
114- " T201 " , # Print statement found.
115- " TD002 " , # Missing author in TODO.
116- " TD003 " , # Missing issue link in TODO.
117- " TRY300 " , # Consider else block instead of return in try.
84+ " any-type " , # Allow Any type in annotations.
85+ " missing-trailing-comma " , # Trailing comma missing. Not recommended with formatter.
86+ " prohibited-trailing-comma " , # Trailing comma prohibited. Not recommended with formatter.
87+ " undocumented-public-module " , # Missing docstring in public module.
88+ " undocumented-public-class " , # Missing docstring in public class.
89+ " undocumented-public-function " , # Missing docstring in public function.
90+ " undocumented-public-package " , # Missing docstring in public package.
91+ " undocumented-public-init " , # Missing docstring in __init__.
92+ " line-too-long " , # Line too long. Ignored for user-facing strings and help text.
93+ " commented-out-code " , # Commented out code.
94+ " line-contains-todo " , # Disallow TODO comments.
95+ " math-constant " , # Math constants should use math module.
96+ " import-outside-top-level " , # Imports not at top-level.
97+ " import-private-name " , # Import of private name.
98+ " too-many-public-methods " , # Too many public methods.
99+ " too-many-return-statements " , # Too many return statements.
100+ " too-many-branches " , # Too many branches.
101+ " too-many-arguments " , # Too many arguments.
102+ " too-many-locals " , # Too many local variables.
103+ " too-many-statements " , # Too many statements.
104+ " too-many-boolean-expressions " , # Too many boolean expressions.
105+ " too-many-positional-arguments " , # Too many positional arguments.
106+ " too-many-nested-blocks " , # Too many nested blocks.
107+ " magic-value-comparison " , # Magic value used in comparison.
108+ " no-self-use " , # Method could be function (no self usage).
109+ " too-many-statements-in-try-clause " , # Too many statements in try clause.
110+ " unnecessary-assign " , # Unnecessary assignment before return.
111+ " used-dummy-variable " , # Dummy variable accessed.
112+ " non-empty-init-module " , # Non-empty __init__ module.
113+ " multiple-with-statements " , # Multiple with statements should be combined.
114+ " print " , # Print statement found.
115+ " missing-todo-author " , # Missing author in TODO.
116+ " missing-todo-link " , # Missing issue link in TODO.
117+ " try-consider-else " , # Consider else block instead of return in try.
118118]
119119
120120[tool .ruff .lint .per-file-ignores ]
@@ -128,7 +128,7 @@ ignore = [
128128 " S" , # Ignore bandit security rules (test code doesn't need security hardening).
129129 " TRY" , # Ignore tryceratops rules (simpler exception handling in tests).
130130]
131- extend-safe-fixes = [" TC002 " , " TC003 " ]
131+ extend-safe-fixes = [" typing-only-third-party-import " , " typing-only-standard-library-import " ]
132132
133133[tool .ruff .lint .isort ]
134134known-first-party = [" app" ]
0 commit comments