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.


silence-fixit-error

Add lint-fixme comments to every occurrence of a fixit error.

Usage

Install with pip:

python -m pip install silence-fixit-error

Call the tool with a rule you want to add fixme comments for and the paths to the files:

silence-fixit-error fixit.rules:CollapseIsinstanceChecks path/to/files/ path/to/more/files/

Once an auto-fix is available for this rule, we can remove the fixme comments and run that auto-fix:

fix-silenced-fixit-error fixit.rules:CollapseIsinstanceChecks path/to/files/ path/to/more/files/

Rationale

When adding a new rule (or enabling more rules) in fixit on a large code-base, fixing the existing violations can be too large a task to do quickly. However, starting to check the rule sooner will prevent new violations from being introduced.

Ignoring existing violations is a quick way 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.

Metadata

Release files for silence-fixit-error 0.3.2

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

Source distribution (sdist)

Source distribution for silence-fixit-error 0.3.2
File Size Uploaded Provenance
silence_fixit_error-0.3.2.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for silence-fixit-error 0.3.2
File Interpreter ABI Platform
silence_fixit_error-0.3.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.0 kB

Release files / silence_fixit_error-0.3.2.tar.gz

Download URL silence_fixit_error-0.3.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a438f7cf0016105218f0748544eedbb41dcd3fb10573af7beb2fb4f421e00787
BLAKE2b-256 checksum
How to use checksums
86097d8d1bceb386f2646fb04685e088cd39161aa1e690d0bcd92d8400d90d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / silence_fixit_error-0.3.2-py2.py3-none-any.whl

Download URL silence_fixit_error-0.3.2-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5fff71bad87dd0212d64dff359f0b6744611ce781cc0a1c67df6ec7505db2394
BLAKE2b-256 checksum
How to use checksums
6fd1676c58c856681bdf3486d0b57018bbbb81d5fc51bcf3cb631530d0b2e874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for silence-fixit-error 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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