I will not explain to you how cool it is to have a linter on your project, it helps you to fail fast and to learn how to write better code.
To lint the project I use
flake8 , which is a wrapper around
Ned Batchelder’s McCabe script. So it does a lot of things!