I think for dynamic languages like python, static code analysis is highly recommended. The other popular option is pylint. From my experience pylint tends to find more stylistic errors (and is highly opinionated about code style), but it's easier to suppress those errors. flake8 is less annoying :D
I think for dynamic languages like python, static code analysis is highly recommended. The other popular option is pylint. From my experience pylint tends to find more stylistic errors (and is highly opinionated about code style), but it's easier to suppress those errors. flake8 is less annoying :D
You run it like:
$ flake8