Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

This tool is no longer maintained. Its functionality is included in the silence-lint-error package.


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 to the files:

ignore-flake8-error F401 path/to/files/ path/to/more/files/

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.

Release files for ignore-flake8-error 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ignore-flake8-error 0.2.1
File Size Uploaded
ignore_flake8_error-0.2.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ignore-flake8-error 0.2.1
File Interpreter ABI Platform
ignore_flake8_error-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 7.9 kB

Release files / ignore_flake8_error-0.2.1.tar.gz

Download URL ignore_flake8_error-0.2.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
21f61d6b423426256ed7611f0fb61941dead249d4f5b214f41051a311163dcef
BLAKE2b-256 checksum
How to use checksums
2100b6b8850f7ac283ce7add33526b3ce11cb8427c024e0b9ffc9ae5e11900bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / ignore_flake8_error-0.2.1-py2.py3-none-any.whl

Download URL ignore_flake8_error-0.2.1-py2.py3-none-any.whl
Size 4.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6c706bd00aedbbb71466fe6fc78e85bc16433127cec3f16fb8c5e19cad7a5960
BLAKE2b-256 checksum
How to use checksums
df582f4926a6f81920e493d6fc73dfff2c6efda8633f03381c87aa78065de7e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page