@@ -2,42 +2,13 @@ target-version = "py37" # Target the oldest supported version
2
2
3
3
[lint ]
4
4
select = [
5
- " C4" , # flake8-comprehensions
6
- " F811" , # redefined-while-unused
7
- " I" , # isort
5
+ " I" , # isort
8
6
" PLC" , # Pylint Convention
9
- " PLE" , # Pylint Error
10
- " RSE" , # flake8-raise
11
- " W" , # pycodestyle Warning
12
- " YTT" , # flake8-2020
13
-
14
- # String formatting, concatenating, interpolation, ...
15
- " FLY" , # static-join-to-f-string
16
- " G" , # flake8-logging-format
17
- # Note, we still want to allow multiline ISC
18
- " ISC001" , # single-line-implicit-string-concatenation
19
- " UP025" , # Remove unicode literals from strings
20
- " UP030" , # Use implicit references for positional format fields
21
- # TODO: Still lots of manual fixes needed
22
- # "UP031", # Use format specifiers instead of percent format
23
- # "UP032", # Use f-string instead of format call
24
-
25
- # Ensure modern type annotation syntax and best practices
26
- # Not including those covered by type-checkers
27
- " FA" , # flake8-future-annotations
28
- " F404" , # late-future-import
29
- " PYI" , # flake8-pyi
30
- " UP006" , # non-pep585-annotation
31
- " UP007" , # non-pep604-annotation
32
- " UP010" , # unnecessary-future-import
33
- " UP037" , # quoted-annotation
34
7
]
35
8
36
9
[lint .per-file-ignores ]
37
10
# Explicit re-exports is fine in __init__.py, still a code smell elsewhere.
38
11
"__init__.py" = [" PLC0414" ]
39
- # TODO: Make adodbapi changes in their own PRs
40
- "adodbapi/*" = [" C4" , " YTT301" , " UP031" , " UP032" , " ISC002" ]
41
12
42
13
[lint .isort ]
43
14
combine-as-imports = true
0 commit comments