blob: e0b0e30d78e683634ff141f73bf5aa9aa1543a16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
select = [
"I", # isort
"UP", # pyupgrade
"C4", # flake8-comprehensions
"E713", # use 'key not in list'
"PIE", # flake8-pie
"PGH003", # forbid blanket 'type: ignore' comments
"PLR0402", # useless import alias
"SIM101", # merge 'isinstance' calls
"SIM109", # use a tuple for multiple comparisons
"SIM110", # convert loop to 'any'
"SIM111", # convert loop to 'all'
"SIM118", # use 'key in dict'
"SIM2", # simplify boolean comparisons
]
target-version = "py38"
[per-file-ignores]
"__init__.py" = ["I"]
"setup.py" = ["I"]
"examples/*.py" = ["I"]
"doc/*.py" = ["I"]
"tools/*.py" = ["I"]
|