Skip to content

Commit c4b5e9f

Browse files
Enforce ruff/Pylint rules (PLE, PLR)
1 parent b586346 commit c4b5e9f

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
@@ -308,6 +308,8 @@ extend-select = [
308308
"PERF", # Perflint
309309
"PIE", # flake8-pie
310310
"PGH", # pygrep-hooks
311+
"PLE", # Pylint Error
312+
"PLR", # Pylint Refactor
311313
"PT", # flake8-pytest-style
312314
"PYI", # flake8-pyi
313315
"RET", # flake8-return
@@ -322,6 +324,15 @@ extend-select = [
322324
]
323325
ignore = [
324326
"ANN401",
327+
"PLR0124",
328+
"PLR0904",
329+
"PLR0911",
330+
"PLR0912",
331+
"PLR0913",
332+
"PLR0914",
333+
"PLR0915",
334+
"PLR0917",
335+
"PLR2004",
325336
"PT011", # TODO: apply this rule
326337
"PT012", # TODO: apply this rule
327338
"RET505",

0 commit comments

Comments
 (0)