mirror of https://github.com/nodejs/node.git
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
parent
01554f316c
commit
804d41f9c7
|
@ -33,9 +33,7 @@ ignore = [
|
|||
"E401",
|
||||
"E402",
|
||||
"E7",
|
||||
"PLC1901",
|
||||
"RUF005",
|
||||
"RUF100",
|
||||
]
|
||||
|
||||
[tool.ruff.lint.mccabe]
|
||||
|
|
Loading…
Reference in New Issue