Skip to content

Commit 8c4bc6e

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent 520344a commit 8c4bc6e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ extend-select = [
319319
"PERF", # Perflint
320320
"PIE", # flake8-pie
321321
"PGH", # pygrep-hooks
322+
"PLE", # Pylint Error
323+
"PLR", # Pylint Refactor
322324
"PT", # flake8-pytest-style
323325
"PYI", # flake8-pyi
324326
"RET", # flake8-return
@@ -333,6 +335,15 @@ extend-select = [
333335
]
334336
ignore = [
335337
"ANN401",
338+
"PLR0124",
339+
"PLR0904",
340+
"PLR0911",
341+
"PLR0912",
342+
"PLR0913",
343+
"PLR0914",
344+
"PLR0915",
345+
"PLR0917",
346+
"PLR2004",
336347
"PT011", # TODO: apply this rule
337348
"RET505",
338349
"RET506",

0 commit comments

Comments
 (0)