flake8
Flake8 is a Python linting tool that combines the functionality of PyFlakes, pycodestyle (formerly pep8), and the McCabe complexity checker to detect potential errors and enforce coding standards. It analyzes Python source files to flag syntax errors, undefined names, unused imports, and style violations, providing a single, extensible interface for several quality checks.
It is installed via Python's package manager and run from the command line as flake8. It reports
Flake8 is open-source software distributed under the MIT license and maintained by a community of volunteers.