Skip to content

Commit a63d748

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent 71cc0c2 commit a63d748

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
@@ -292,6 +292,8 @@ extend-select = [
292292
"PERF", # Perflint
293293
"PIE", # flake8-pie
294294
"PGH", # pygrep-hooks
295+
"PLE", # Pylint Error
296+
"PLR", # Pylint Refactor
295297
"PT", # flake8-pytest-style
296298
"PYI", # flake8-pyi
297299
"RET", # flake8-return
@@ -306,6 +308,15 @@ extend-select = [
306308
]
307309
ignore = [
308310
"ANN401",
311+
"PLR0124",
312+
"PLR0904",
313+
"PLR0911",
314+
"PLR0912",
315+
"PLR0913",
316+
"PLR0914",
317+
"PLR0915",
318+
"PLR0917",
319+
"PLR2004",
309320
"PT011", # TODO: apply this rule
310321
"RET505",
311322
"RET506",

0 commit comments

Comments
 (0)