yesqa-1.5.0
توضیحات
Automatically remove unnecessary `# noqa` comments.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | yesqa-1.5.0 |
| نام | yesqa |
| نسخه کتابخانه | 1.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Anthony Sottile |
| ایمیل نویسنده | asottile@umich.edu |
| آدرس صفحه اصلی | https://github.com/asottile/yesqa |
| آدرس اینترنتی | https://pypi.org/project/yesqa/ |
| مجوز | MIT |
[](https://github.com/asottile/yesqa/actions/workflows/main.yml)
[](https://results.pre-commit.ci/latest/github/asottile/yesqa/main)
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
```bash
pip install yesqa
```
## As a pre-commit hook
See [pre-commit](https://github.com/pre-commit/pre-commit) for instructions
Sample `.pre-commit-config.yaml`:
```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`][0].
[0]: http://pre-commit.com/#pre-commit-configyaml---hooks
نیازمندی
| مقدار | نام |
|---|---|
| >=3.9 | flake8 |
| >=2.1 | tokenize-rt |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl yesqa-1.5.0:
pip install yesqa-1.5.0.whl
نصب پکیج tar.gz yesqa-1.5.0:
pip install yesqa-1.5.0.tar.gz