Skip to content

Commit bc8c39b

Browse files
Trottmarco-ippolito
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 1e44f5d commit bc8c39b

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
@@ -32,9 +32,7 @@ ignore = [
3232
"E401",
3333
"E402",
3434
"E7",
35-
"PLC1901",
3635
"RUF005",
37-
"RUF100",
3836
]
3937

4038
[tool.ruff.lint.mccabe]

0 commit comments

Comments
 (0)