Skip to content

Commit aea088f

Browse files
TrottRafaelGSS
authored andcommitted
tools: disable unneeded rule ignoring in Python linting
Removing PLC1901 and RUF100 from the list of Python lint rules to ignore does not result in any errors. Keeping the ignore list as short as possible seems like a good idea, so this change removes them from the ignore list. PR-URL: #56429 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 7a0dd2d commit aea088f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pyproject.toml

-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ ignore = [
3333
"E401",
3434
"E402",
3535
"E7",
36-
"PLC1901",
3736
"RUF005",
38-
"RUF100",
3937
]
4038

4139
[tool.ruff.lint.mccabe]

0 commit comments

Comments
 (0)