add `noqa` comments to ignore every occurrence of a flake8 error
Project description
ignore-flake8-error
Add noqa
comments to ignore every occurrence of a flake8 error.
Usage
Install with pip:
python -m pip install ignore-flake8-error
Call the tool with an error code you want to add ignore comments for and the paths tothe files:
ignore-flake8-error F401 path/to/files/ path/to/more/files/s
Rationale
When adding a new plugin (or enabling more rules) to flake8 on a large codebase, fixing the existing violations can be too large a task to do quickly. However, starting to check the rule sooner will prevent new violations fom being introduces.
Ignoring existing violation is a quick wya to allow new rules to be enabled. You can then burn down the existing violations over time.
This tool makes it easy to find and ignore all current violations of a rule so that it can be enabled.
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
Hashes for ignore_flake8_error-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccbc0d000ddea76dfdd4557359ff4f54d614a036b4565571bd2218bcc162f6fa |
|
MD5 | 4864d984696431d7ac5146de72ada92c |
|
BLAKE2b-256 | fad2c8d71e1f56d4ed67a51c12d9f7523197e07b57bb5252bb1dd595f8703c7e |
Hashes for ignore_flake8_error-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a485d93b8c06fa1c3792efe6666d8685a41fac6aaaf919d84faf00e9038dfa |
|
MD5 | 1d42f89d3a7260dfcfa24bf8aaefc225 |
|
BLAKE2b-256 | fa1905b211ee66efc41352f594a9d631aed45b20aeccf025aae18c338d92007b |