Hi,
I use flake8 in my code you should install :
pip install flake8
After that you can use like:
flake8 example.py
In the Visual Studio Code you can use cornflakes-linter
If you want to ignore some error create a
.flake8
file and write:
[flake8]ignore=E501
Example ss for flake8 and cornflakes-linter in VS Code
This is the website of flake8 you can check for more details.
https://flake8.pycqa.org/en/latest/
This is the website of pep8 you can check for more details.
https://pep8.org/
No comments:
Post a Comment