Skip to content

Commit d6d33bc

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent dc5334e commit d6d33bc

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
@@ -310,6 +310,8 @@ extend-select = [
310310
"PERF", # Perflint
311311
"PIE", # flake8-pie
312312
"PGH", # pygrep-hooks
313+
"PLE", # Pylint Error
314+
"PLR", # Pylint Refactor
313315
"PT", # flake8-pytest-style
314316
"PYI", # flake8-pyi
315317
"RET", # flake8-return
@@ -324,6 +326,15 @@ extend-select = [
324326
]
325327
ignore = [
326328
"ANN401",
329+
"PLR0124",
330+
"PLR0904",
331+
"PLR0911",
332+
"PLR0912",
333+
"PLR0913",
334+
"PLR0914",
335+
"PLR0915",
336+
"PLR0917",
337+
"PLR2004",
327338
"PT011", # TODO: apply this rule
328339
"RET505",
329340
"RET506",

0 commit comments

Comments
 (0)