Enable the Pylint-warnings rules in Ruff (#2823)

The rule implementations can differ between Ruff and Pylint, so
enable them both for maximum coverage.
This commit is contained in:
correctmost 2024-11-16 02:28:00 -05:00 committed by GitHub
parent ecad6762e5
commit 3d2673ac78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -185,6 +185,7 @@ select = [
"PIE", # flake8-pie "PIE", # flake8-pie
"PLC", # Pylint conventions "PLC", # Pylint conventions
"PLE", # Pylint errors "PLE", # Pylint errors
"PLW", # Pylint warnings
"RSE", # flake8-raise "RSE", # flake8-raise
"SLOT", # flake8-slot "SLOT", # flake8-slot
"T10", # flake8-debugger "T10", # flake8-debugger
@ -194,10 +195,11 @@ select = [
] ]
ignore = [ ignore = [
"E701", # multiple-statements-on-one-line-colon "E701", # multiple-statements-on-one-line-colon
"E722", # bare-except "E722", # bare-except
"F401", # unused-import "F401", # unused-import
"W191", # tab-indentation "PLW2901", # redefined-loop-name
"W191", # tab-indentation
] ]
[tool.ruff.lint.mccabe] [tool.ruff.lint.mccabe]