From my experience these two tools helps greatly with quality of the code that I initially submit for review. Specially pylint catches a lot of issues that flake8 seems to miss. Just to name few common:
missing docstrings
unused variables/params
too many function params/class attributes/class methods
mutable default parameters
too many if statements in function
repeated blocks of code
...
I think it'd be worthwhile to them into the linting process.
From my experience these two tools helps greatly with quality of the code that I initially submit for review. Specially
pylint
catches a lot of issues thatflake8
seems to miss. Just to name few common:if
statements in functionI think it'd be worthwhile to them into the linting process.