# Flake8 plugin for in-file-ignores
An extension for Flake8 that allows to specify per-file-ignores in the actual file instead of having to specify them in the flake8 config (the built-in way).
## Installation
pip install flake8-in-file-ignores
## Usage
This plugin will scan your project files and look for lines similar to the following
# flake8-in-file-ignores: noqa: E731,E123
## How it works
This plugin abuse the parse_options feature of flake8 to update the per-file-ignores config at that moment.
It scans your project to find the # flake8-in-file-ignores: noqa: lines and updates the existing per-file-ignores options. It does all that before any checks actual run.
## Error codes
This plugin uses IFI as error code (but it will never raise any error)
## Changes
[0.0.1] - 2022-07-02 * Initial release
Metadata
Release files for flake8-in-file-ignores 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8-in-file-ignores-0.2.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_in_file_ignores-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / flake8-in-file-ignores-0.2.0.tar.gz
| Download URL | flake8-in-file-ignores-0.2.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3f110cdb13758c1658e433d9065de6bac201c3e8c3cc870f77019d518d7d072
|
|
BLAKE2b-256 checksum How to use checksums |
96d9e72e44370c3e3b2d759a1f91ebd5d73d0dfbfb9deb165b32f75d00e5554d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / flake8_in_file_ignores-0.2.0-py2.py3-none-any.whl
| Download URL | flake8_in_file_ignores-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
00978fa1b3183a478c1e0273b1444f3cb036683cc91b381d7c5034a5ddabf512
|
|
BLAKE2b-256 checksum How to use checksums |
dd81dc09b4d996d5a5ab7ca79c50682f3b12ddf0511ddbd62f6fa9f7892694ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|