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: https://github.com/nodejs/node/pull/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>
pull/37649/merge
Rich Trott 2025-01-03 15:12:08 -08:00 committed by GitHub
parent 01554f316c
commit 804d41f9c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -33,9 +33,7 @@ ignore = [
"E401",
"E402",
"E7",
"PLC1901",
"RUF005",
"RUF100",
]
[tool.ruff.lint.mccabe]