Skip to main content

build status pre-commit.ci status

yesqa

A tool (and pre-commit hook) to automatically remove unnecessary # noqa comments, for example: a check that's no longer applicable (say you increased your max line length), a mistake (# noqa added to a line that wasn't failing), or other code in the file caused it to no longer need a # noqa (such as an unused import).

Installation

pip install yesqa

As a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

-   repo: https://github.com/asottile/yesqa
    rev: v1.5.0
    hooks:
    -   id: yesqa

If you need to select a specific version of flake8 and/or run with specific flake8 plugins, add them to additional_dependencies.

Release files for yesqa 1.5.0

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

Source distribution (sdist)

Source distribution for yesqa 1.5.0
File Size Uploaded
yesqa-1.5.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yesqa 1.5.0
File Interpreter ABI Platform
yesqa-1.5.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.1 kB

Release files / yesqa-1.5.0.tar.gz

Download URL yesqa-1.5.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
209c17274f3c0cc22195ddb26f93df3523634d0756f756913ed05cba970efad9
BLAKE2b-256 checksum
How to use checksums
9e1420b1afffaea2fe0259f40fcd489670496b86f76777db26b690f6042d38ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / yesqa-1.5.0-py2.py3-none-any.whl

Download URL yesqa-1.5.0-py2.py3-none-any.whl
Size 4.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
600c6d6e59aff9d85422c28c0d0ff016c040f4eb653636632c18fb6c43453e00
BLAKE2b-256 checksum
How to use checksums
9133c5b597c690bf3c4ef0b7b93a71e7a254954f8ad6e153a5b614dc50f8da6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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