flake8

Check the style and quality of Python code. More information: https://flake8.pycqa.org/.

flake8 path/to/file_or_directory

flake8 --show-source path/to/file_or_directory

flake8 --ignore rule1,rule2 path/to/file_or_directory

flake8 --exclude substring1,glob2 path/to/file_or_directory