Skip to content

Commit 4c054e1

Browse files
Enforce ruff/Perflint rules (PERF)
1 parent c3728f3 commit 4c054e1

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

pyproject.toml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -207,23 +207,24 @@ extend-exclude = [
207207

208208
[tool.ruff.lint]
209209
extend-select = [
210-
"ANN", # flake8-annotations
211-
"B", # flake8-bugbear
212-
"C4", # flake8-comprehensions
213-
"FLY", # flynt
214-
"G", # flake8-logging-format
215-
"I", # isort
216-
"ISC", # flake8-implicit-str-concat
217-
"PGH", # pygrep-hooks
218-
"PT", # flake8-pytest-style
219-
"PYI", # flake8-pyi
220-
"RSE", # flake8-raise
221-
"RET", # flake8-return
210+
"ANN", # flake8-annotations
211+
"B", # flake8-bugbear
212+
"C4", # flake8-comprehensions
213+
"FLY", # flynt
214+
"G", # flake8-logging-format
215+
"I", # isort
216+
"ISC", # flake8-implicit-str-concat
217+
"PERF", # Perflint
218+
"PGH", # pygrep-hooks
219+
"PT", # flake8-pytest-style
220+
"PYI", # flake8-pyi
221+
"RSE", # flake8-raise
222+
"RET", # flake8-return
222223
"RUF",
223-
"TCH", # flake8-type-checking
224-
"TRY", # tryceratops
225-
"UP", # pyupgrade
226-
"W", # pycodestyle warnings
224+
"TCH", # flake8-type-checking
225+
"TRY", # tryceratops
226+
"UP", # pyupgrade
227+
"W", # pycodestyle warnings
227228
]
228229
ignore = [
229230
"ANN003",

0 commit comments

Comments
 (0)