@@ -131,15 +131,18 @@ select = [
131131 " YTT" , # flake8-2020
132132]
133133extend-ignore = [
134- ' A002' , # builtin-argument-shadowing
135- ' ANN401' , # any-type (mypy's `disallow_any_explicit` is better)
136- ' E402' , # module-import-not-at-top-of-file (usually OS-specific)
137- ' E501' , # line-too-long
138- ' F403' , # undefined-local-with-import-star
139- ' F405' , # undefined-local-with-import-star-usage
140- ' PERF203' , # try-except-in-loop (not always possible to refactor)
141- ' PT012' , # multiple statements in pytest.raises block
142- ' SIM117' , # multiple-with-statements (messes up lots of context-based stuff and looks bad)
134+ " A002" , # builtin-argument-shadowing
135+ " ANN401" , # any-type (mypy's `disallow_any_explicit` is better)
136+ " E402" , # module-import-not-at-top-of-file (usually OS-specific)
137+ " E501" , # line-too-long
138+ " F403" , # undefined-local-with-import-star
139+ " F405" , # undefined-local-with-import-star-usage
140+ " PERF203" , # try-except-in-loop (not always possible to refactor)
141+ " PT012" , # multiple statements in pytest.raises block
142+ " SIM117" , # multiple-with-statements (messes up lots of context-based stuff and looks bad)
143+
144+ # conflicts with formatter (ruff recommends these be disabled)
145+ " COM812" ,
143146]
144147
145148[tool .ruff .lint .per-file-ignores ]
0 commit comments