Lint perflint, comprehensions and blind-except (PERF, C4, BLE)
- flake8-blind-except: https://docs.astral.sh/ruff/rules/#flake8-blind-except-ble - flake8-comprehensions: https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4 - Perflint: https://docs.astral.sh/ruff/rules/#perflint-perf
This commit is contained in:
parent
d70029dde9
commit
59c638c622
|
@ -62,12 +62,15 @@ line-length = 120
|
|||
target-version = "py39"
|
||||
lint.select = [
|
||||
"B", # flake8-bugbear
|
||||
"BLE", # flake8-blind-except
|
||||
"C4", # flake8-comprehensions
|
||||
"E4", # pycodestyle - error - import
|
||||
"E7", # pycodestyle - error - statement
|
||||
"E9", # pycodestyle - error - runtime
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
"PERF", # perflint
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
lint.isort.required-imports = [
|
||||
|
|
Loading…
Reference in New Issue