@@ -10,13 +10,13 @@ exclude = [
1010[lint ]
1111extend-select = [
1212 # upstream
13-
13+
1414 " C901" , # complex-structure
1515 " I" , # isort
1616 " PERF401" , # manual-list-comprehension
1717 " W" , # pycodestyle Warning
18-
19- # Ensure modern type annotation syntax and best practices
18+
19+ # Ensure modern type annotation syntax and best practices
2020 # Not including those covered by type-checkers or exclusive to Python 3.11+
2121 " FA" , # flake8-future-annotations
2222 " F404" , # late-future-import
@@ -30,21 +30,17 @@ extend-select = [
3030
3131 # local
3232 " ANN2" , # missing-return-type-*
33- " F" , # Pyflakes
34- " F404" , # late-future-import
35- " FA" , # flake8-future-annotations
3633 " PERF" , # Perflint
3734 " PGH" , # pygrep-hooks (blanket-* rules)
3835 " PT" , # flake8-pytest-style
39- " PYI" , # flake8-pyi
4036 " RUF10" , # unused-noqa & redirected-noqa
4137 " TRY" , # tryceratops
4238 " UP" , # pyupgrade
4339 " YTT" , # flake8-2020
4440]
4541ignore = [
4642 # upstream
47-
43+
4844 # Typeshed rejects complex or non-literal defaults for maintenance and testing reasons,
4945 # irrelevant to this project.
5046 " PYI011" , # typed-argument-default-in-stub
@@ -64,8 +60,8 @@ ignore = [
6460 " ISC001" ,
6561 " ISC002" ,
6662
67- # local
68- " PERF203" , # try-except-in-loop, micro-optimisation with many false-positive. Worth checking but don't block CI
63+ # local
64+ " PERF203" , # try-except-in-loop, micro-optimisation with many false-positive. Worth checking but don't block CI
6965 " PT007" , # temporarily disabled, TODO: configure and standardize to preference
7066 " PT011" , # temporarily disabled, TODO: tighten expected error
7167 " PT012" , # pytest-raises-with-multiple-statements, avoid extra dummy methods for a few lines, sometimes we explicitly assert in case of no error
0 commit comments