File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ exclude = [
8181 " node_modules" ,
8282 " venv" ,
8383 " */migrations/*" ,
84- " test_*" ,
8584 " noxfile.py" ,
8685]
8786
@@ -123,19 +122,19 @@ inline-quotes = "single"
123122"__init__.py" = [" F401" , " D" , " ANN" ] # Ignore unused imports in __init__.py
124123"*_test.py" = [
125124 " D" , # All pydocstyle rules
126- " ANN001" , # Missing type annotation for function argument
127- " ANN201" , # Missing return type annotation for public function
128- " ANN204" , # Missing return type annotation for special method
125+ " ANN" , # Missing type annotation for function argument
129126 " RUF013" , # Implicit optional type in test function signatures
130127 " S101" , # Use of `assert` detected (expected in tests)
128+ " PLR2004" ,
129+ " SLF001" ,
131130]
132131"test_*.py" = [
133132 " D" ,
134- " ANN001" ,
135- " ANN201" ,
136- " ANN204" ,
133+ " ANN" ,
137134 " RUF013" ,
138135 " S101" ,
136+ " PLR2004" ,
137+ " SLF001" ,
139138]
140139"types.py" = [" D" , " E501" , " N815" ] # Ignore docstring and annotation issues in types.py
141140
You can’t perform that action at this time.
0 commit comments