@@ -115,6 +115,7 @@ ignore = [
115115 " ANN204" , # Missing return type annotation for special (dunder) method
116116 " FBT" , # Using boolean function arguments
117117 " TD" , # TODOs
118+ " FIX001" , # Resolve FIXMEs
118119 " FIX002" , # Resolve TODOs
119120 " B028" , # No explicit `stacklevel` keyword argument found in warning
120121 # No docstrings required in the following cases
@@ -139,15 +140,21 @@ extend-safe-fixes = [
139140 " B006" , # Mutable default argument
140141]
141142
142- [lint .per-file-ignores ]
143+ [tool . ruff . lint .per-file-ignores ]
143144"tests/*" = [
144145 " S101" , # Use of `assert` detected
145146 " PT011" , # pytest-raises-too-broad
147+ " ANN001" , # Missing function argument type
146148 " ANN201" , # Missing return type
147149 " D103" , # Missing function docstring
148150 " ANN401" , # Function arguments annotated with too generic `Any` type
149151 " SLF001" , # Private member access
150152]
153+ "docs/conf.py" = [
154+ " INP001" , # Add __init__.py to implicit namespace package
155+ " ERA001" , # Commented-out code
156+ " A001" , # Shadowing Python builtin name, specifically `copyright`
157+ ]
151158
152159[tool .ruff .lint .isort ]
153160known-first-party = [" {{ cookiecutter.package_name }}" ]
0 commit comments