Skip to content

Commit a18f7a5

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent fe42655 commit a18f7a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ extend-select = [
311311
"PERF", # Perflint
312312
"PIE", # flake8-pie
313313
"PGH", # pygrep-hooks
314+
"PLE", # Pylint Error
315+
"PLR", # Pylint Refactor
314316
"PT", # flake8-pytest-style
315317
"PYI", # flake8-pyi
316318
"RET", # flake8-return
@@ -325,6 +327,15 @@ extend-select = [
325327
]
326328
ignore = [
327329
"ANN401",
330+
"PLR0124",
331+
"PLR0904",
332+
"PLR0911",
333+
"PLR0912",
334+
"PLR0913",
335+
"PLR0914",
336+
"PLR0915",
337+
"PLR0917",
338+
"PLR2004",
328339
"PT011", # TODO: apply this rule
329340
"RET505",
330341
"RET506",

0 commit comments

Comments
 (0)