File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -145,18 +145,13 @@ indent-style = "space"
145145"**/{tests}/*" = [
146146 " D" , # Everything from the pydocstyle
147147 " INP001" , # File {filename} is part of an implicit namespace package, add an __init__.py
148+ " PLC0415" , # `import` should be at the top-level of a file
148149 " PLR2004" , # Magic value used in comparison, consider replacing {value} with a constant variable
149150 " S101" , # Use of assert detected
150151 " SLF001" , # Private member accessed: `{name}`
151152 " T20" , # flake8-print
152- " TRY301" , # Abstract `raise` to an inner function
153153 " TID252" , # Prefer absolute imports over relative imports from parent modules
154- ]
155- "**/{tests}/{integration}/*" = [
156- " PLC0415" , # `import` should be at the top-level of a file
157- ]
158- "**/{tests}/e2e/*" = [
159- " PLC0415" , # `import` should be at the top-level of a file
154+ " TRY301" , # Abstract `raise` to an inner function
160155]
161156"**/{docs,website}/**" = [
162157 " D" , # Everything from the pydocstyle
You can’t perform that action at this time.
0 commit comments