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:
parent
ecad6762e5
commit
3d2673ac78
|
|
@ -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]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue