pylint

Python code static analysis tool for detecting errors and style issues

brewmacoslinux
Try with needOr install directly
Source

About

It's not just a linter that annoys you!

Commands

pylint

Examples

Lint a single Python file$ pylint myfile.py
Lint an entire package/directory$ pylint mypackage/
Generate a detailed report with specific output format$ pylint --output-format=json myfile.py > report.json