Add commented out code check to linters
This commit is contained in:
parent
04832892cc
commit
3019e13c80
2 changed files with 2 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ select = [
|
||||||
"NPY", # Numpy linting
|
"NPY", # Numpy linting
|
||||||
"N", # PEP8 naming
|
"N", # PEP8 naming
|
||||||
# "D", # Docstring checks these may need to be added gradually
|
# "D", # Docstring checks these may need to be added gradually
|
||||||
|
"ERA001", # Commented out code!
|
||||||
]
|
]
|
||||||
|
|
||||||
ignore = [
|
ignore = [
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ select = [
|
||||||
"NPY", # Numpy linting
|
"NPY", # Numpy linting
|
||||||
"N", # PEP8 naming
|
"N", # PEP8 naming
|
||||||
"D", # Docstring checks these may need to be added gradually
|
"D", # Docstring checks these may need to be added gradually
|
||||||
|
"ERA001", # Commented out code!
|
||||||
]
|
]
|
||||||
|
|
||||||
# Line length is set to 88 for ruff. This is what the formatter aims for
|
# Line length is set to 88 for ruff. This is what the formatter aims for
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue