ref: Add ruff rules for pylint (PL) (#4032)

* Add ruff rules for pylint (PL)

* Changes following review
This commit is contained in:
Christophe Bornet 2024-10-08 17:56:49 +02:00 • committed by GitHub
commit f01ea48d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 174 additions and 166 deletions

View file

@ -48,6 +48,7 @@ ignore = [
"FIX002", # Line contains TODO
"ISC001", # Messes with the formatter
"PERF203", # Rarely useful
"PLR09", # Too many something (arg, statements, etc)
"RUF012", # Pydantic models are currently not well detected. See https://github.com/astral-sh/ruff/issues/13630
"TD002", # Missing author in TODO
"TD003", # Missing issue link in TODO
@ -61,7 +62,6 @@ ignore = [
"EXE",
"FBT",
"N",
"PL",
"RUF006", # Store a reference to the return value of `asyncio.create_task`
"S",
"SLF",