Always ignore #noqa lines with flake8.
Project description
By default, flake8 ignores # NOQA directives for some PEP8 errors. This flake8 plugin makes it respect them.
Installation
Simply:
$ pip install flake8-respect-noqa
Usage
It is enabled by default as soon as it is installed. Check that flake8 finds it:
$ flake8 --version 2.4.1 (pep8: 1.5.7, flake8-respect-noqa: 0.1, mccabe: 0.3.1, pyflakes: 0.8.1) CPython 2.7.6 on Linux
However, to get it to work, you currently need to run flake8 with --jobs= or put jobs = 1 in your [flake8] configuration, otherwise flake8 uses its own reporter, which trumps the customizations this extension attempts to make.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8_respect_noqa-0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6d4aabeab16a1113ef7a71f893f03112c37967390e9cd55bb9671903c13c71 |
|
MD5 | fa2619884cfec5f71d54f4a6e6f9e076 |
|
BLAKE2b-256 | 149a8d105148707883fd6ca8e2ae1ca609a31c6cfb09aea47fc55a0e8804e92f |