1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
= [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"D", # pydocstyle
"UP", # pyupgrade
"ANN", # flake8-annotations
"S", # flake8-bandit
"BLE", # flake8-blind-except
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"RET", # flake8-return
"PTH", # flake8-use-pathlib
"PL", # pyline
"NPY", # NumPy-specific rules
"RUF", # Ruff-specific rules
]
= ["ANN101", "ANN102"]
= ["B"] # Avoid trying to fix flake8-bugbear violations.
= "py39" # Assume Python 3.9.
[]
# Unlike Flake8, default to a complexity level of 10.
= 12
[]
= "google"
# Ignore `F401` (unused import violations) in all `__init__.py` files.
[]
= ["F401"]
= ["B008", "S101"]
[]
= true