flake8

Style guide enforcement and logical error detection for Python

brewmacoslinux
Try with needOr install directly
Source

About

Lint your Python code for style and logical errors

Commands

flake8

Examples

Check a single Python file for style and logical errors$ flake8 myfile.py
Lint an entire directory recursively$ flake8 src/
Show error statistics and exclude specific error codes$ flake8 . --ignore=E501,W503 --statistics