Skip to content

Commit 35d6d6c

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent 27615fd commit 35d6d6c

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
@@ -304,6 +304,8 @@ extend-select = [
304304
"PERF", # Perflint
305305
"PIE", # flake8-pie
306306
"PGH", # pygrep-hooks
307+
"PLE", # Pylint Error
308+
"PLR", # Pylint Refactor
307309
"PT", # flake8-pytest-style
308310
"PYI", # flake8-pyi
309311
"RET", # flake8-return
@@ -318,6 +320,15 @@ extend-select = [
318320
]
319321
ignore = [
320322
"ANN401",
323+
"PLR0124",
324+
"PLR0904",
325+
"PLR0911",
326+
"PLR0912",
327+
"PLR0913",
328+
"PLR0914",
329+
"PLR0915",
330+
"PLR0917",
331+
"PLR2004",
321332
"PT011", # TODO: apply this rule
322333
"PT012", # TODO: apply this rule
323334
"RET505",

0 commit comments

Comments
 (0)