Skip to content

Commit 8025f96

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent dd161df commit 8025f96

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

0 commit comments

Comments
 (0)