Skip to content

Commit 59c638c

Browse files
committed
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
1 parent d70029d commit 59c638c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,15 @@ line-length = 120
6262
target-version = "py39"
6363
lint.select = [
6464
"B", # flake8-bugbear
65+
"BLE", # flake8-blind-except
66+
"C4", # flake8-comprehensions
6567
"E4", # pycodestyle - error - import
6668
"E7", # pycodestyle - error - statement
6769
"E9", # pycodestyle - error - runtime
6870
"F", # pyflakes
6971
"I", # isort
7072
"ISC", # flake8-implicit-str-concat
73+
"PERF", # perflint
7174
"UP", # pyupgrade
7275
]
7376
lint.isort.required-imports = [

0 commit comments

Comments
 (0)