Flake8
Flake8: Your Tool For Style Guide Enforcement
Configuration
Rules
Ignoring Errors with Flake8
- Ignoring Errors with Flake8 — flake8 3.1.1 documentation
- Selecting and Ignoring Violations — flake8 3.8.4 documentation
In-line Ignoring Errors:
Commandline:
Ignoring Entire Files:
- By explicitly adding it to our list of excluded paths (see:
flake8 --exclude
) - By adding
# flake8: noqa
to the file
See also
- pytest
- pytest-flake8
- PyCharm:Inspections
- Ruff - 10-100x 빠른 Python 린터
- pycodestyle - Simple Python style checker in one Python file