Automatically remove unnecessary `# noqa` comments.
A tool (and pre-commit hook) to automatically remove unnecessary
comments, for example: a check that's no longer applicable (say you increased your
max line length), a mistake (
# noqa added to a line that wasn't failing),
or other code in the file caused it to no longer need a
# noqa (such as an unused import).
pip install yesqa
As a pre-commit hook
See pre-commit for instructions
- repo: https://github.com/asottile/yesqa rev: v1.2.2 hooks: - id: yesqa
If you need to select a specific version of flake8 and/or run with specific
flake8 plugins, add them to
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size yesqa-1.2.2-py2.py3-none-any.whl (4.7 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size yesqa-1.2.2.tar.gz (4.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for yesqa-1.2.2-py2.py3-none-any.whl