Enable the PLR0124 lint in Ruff

This commit is contained in:
Adam Turner 2024-10-19 02:31:36 +01:00
parent c4cff9cc46
commit 4d2d2e4481

View File

@ -39,7 +39,6 @@ ignore = [
"PLC0415", # `import` should be at the top-level of a file "PLC0415", # `import` should be at the top-level of a file
"PLC2701", # Private name import `{name}` from external module `{module}` "PLC2701", # Private name import `{name}` from external module `{module}`
# pylint ('PLR') # pylint ('PLR')
"PLR0124", # Name compared with itself, consider replacing `{actual}`
"PLR0904", # Too many public methods ({methods} > {max_methods}) "PLR0904", # Too many public methods ({methods} > {max_methods})
"PLR0911", # Too many return statements ({returns} > {max_returns}) "PLR0911", # Too many return statements ({returns} > {max_returns})
"PLR0912", # Too many branches ({branches} > {max_branches}) "PLR0912", # Too many branches ({branches} > {max_branches})