Flake8 respect NOQA
By default, flake8 ignores # NOQA directives for some PEP8 errors.
See https://gitlab.com/pycqa/flake8/issues/21
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.2, 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=1 or put jobs = 1 in your [flake8] configuration, otherwise flake8 uses its own ‘reporter’, which trumps the customizations this extension attempts to make.
Release files for flake8-respect-noqa 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8-respect-noqa-0.3.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_respect_noqa-0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 7.5 kB
Release files / flake8-respect-noqa-0.3.tar.gz
| Download URL | flake8-respect-noqa-0.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab4acba81f02a1147ce1b3d51c27ad86a5e313667b56bcaa720c801118d00b58
|
|
BLAKE2b-256 checksum How to use checksums |
ba9f54dabf385b001efa474eef5cbdf074ae4dcc75eeb878b68f7edf3a386489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flake8_respect_noqa-0.3-py2-none-any.whl
| Download URL | flake8_respect_noqa-0.3-py2-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b5ca11dd9d3b5a9c8ad96d08554af183e3b3d1be71ff96ede720855fcbbcfaa4
|
|
BLAKE2b-256 checksum How to use checksums |
fdd3515e02f9f5a67de8a4c78b993060104969975daea68b50cff12847e3fdad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |