Skip to content

Commit 3b4ee6e

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent 4256c5d commit 3b4ee6e

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
@@ -298,6 +298,8 @@ extend-select = [
298298
"PERF", # Perflint
299299
"PIE", # flake8-pie
300300
"PGH", # pygrep-hooks
301+
"PLE", # Pylint Error
302+
"PLR", # Pylint Refactor
301303
"PT", # flake8-pytest-style
302304
"PYI", # flake8-pyi
303305
"RET", # flake8-return
@@ -312,6 +314,15 @@ extend-select = [
312314
]
313315
ignore = [
314316
"ANN401",
317+
"PLR0124",
318+
"PLR0904",
319+
"PLR0911",
320+
"PLR0912",
321+
"PLR0913",
322+
"PLR0914",
323+
"PLR0915",
324+
"PLR0917",
325+
"PLR2004",
315326
"PT011", # TODO: apply this rule
316327
"PT012", # TODO: apply this rule
317328
"RET505",

0 commit comments

Comments
 (0)