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