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 <yagiz@nizipli.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
Trott authored and RafaelGSS committed Jan 21, 2025
1 parent 7a0dd2d commit aea088f
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 aea088f

Please sign in to comment.