Merge branch 'more-checkers' into 'v3'
Enable more lint checkers See merge request openflexure/openflexure-microscope-server!290
This commit is contained in:
commit
c43b7cb8b4
11 changed files with 29 additions and 36 deletions
|
|
@ -102,22 +102,21 @@ select = [
|
|||
# "PL", # Pylint (a subset of, catches far less than pylint does)
|
||||
# "B", # Flake8 bugbear
|
||||
"A", # Flake8 builtins checker
|
||||
# "C", # Flake8 comprehensions
|
||||
"C", # Flake8 comprehensions
|
||||
# "FIX", #TODO/FIXME's in code. These should be added during develoment for ongoing tasks.
|
||||
# If they are not fixed before merge they should be converted to GitLab issues
|
||||
# "LOG", # Flake8 logging issues (pedantic logger formatting issues can be added with "G")
|
||||
# "T20", # Warns for print statments, production code should log
|
||||
# "PT", # pytest linting
|
||||
# "RET", # Consistent clear return statments
|
||||
"RET", # Consistent clear return statements
|
||||
"RSE", # Raise parentheses
|
||||
# "SIM", # Simplifications detected
|
||||
# "ARG", # unused arguments
|
||||
# "C90", # McCabe complexity!
|
||||
"ARG", # unused arguments
|
||||
"C90", # McCabe complexity!
|
||||
"NPY", # Numpy linting
|
||||
"N", # PEP8 naming
|
||||
# "DOC", # Enforce argument, return, and raise to be mentioned in docstrings there is
|
||||
# also "D" but this even warns about docstring punctuation. Perhaps a step too
|
||||
# far?
|
||||
# "D", # Docstring checks these may need to be added gradually
|
||||
"ERA001", # Commented out code!
|
||||
]
|
||||
|
||||
ignore = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue