Answers for "run flake8"

0

run flake8

#Install flake8
python -m pip install flake8

#Run flake8 lint check against file
flake8 path/to/code/to/check.py

#Run flake8 lint check for specific errors or warnings by their reference code
flake8 --select E123,W503 path/to/code/to/check.py

#Run flake8 lint check and ignore specific errors or warnings by their reference code
flake8 --ignore E24,W504 path/to/code/to/check.py
Posted by: Guest on March-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language