Skip to content

Commit

Permalink
tools: disable unneeded rule ignoring in Python linting
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
  • Loading branch information
Trott authored Jan 3, 2025
1 parent 01554f3 commit 804d41f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ ignore = [
"E401",
"E402",
"E7",
"PLC1901",
"RUF005",
"RUF100",
]

[tool.ruff.lint.mccabe]
Expand Down

0 comments on commit 804d41f

Please sign in to comment.