@@ -164,6 +164,7 @@ toplevel = ["attr", "attrs"]
164
164
[tool .ruff ]
165
165
src = [" src" , " tests" , " conftest.py" , " docs" ]
166
166
167
+ [tool .lint .ruff ]
167
168
select = [" ALL" ]
168
169
ignore = [
169
170
" A001" , # shadowing is fine
@@ -185,7 +186,6 @@ ignore = [
185
186
" PLR0911" , # we're complex software
186
187
" PLR0912" , # we're complex software
187
188
" PLR0915" , # we're complex software
188
- " PGH001" , # eval FTW
189
189
" S307" , # eval FTW
190
190
" N807" , # we need to create functions that start with __
191
191
" ERA001" , # we need to keep around some notes
@@ -197,7 +197,7 @@ ignore = [
197
197
" TRY301" , # I'm sorry, but this makes not sense for us.
198
198
]
199
199
200
- [tool .ruff .per-file-ignores ]
200
+ [tool .ruff .lint . per-file-ignores ]
201
201
"**/test_*" = [
202
202
" ARG005" , # we need stub lambdas
203
203
" S" ,
@@ -233,7 +233,7 @@ ignore = [
233
233
" UP037" , # we test some older syntaxes on purpose
234
234
]
235
235
236
- [tool .ruff .isort ]
236
+ [tool .ruff .lint . isort ]
237
237
lines-between-types = 1
238
238
lines-after-imports = 2
239
239
known-first-party = [" attr" , " attrs" ]
0 commit comments