pylint
Pylint is a static code analyser for Python 2 or 3.
https://pylint.pycqa.org/en/latest/