Flake8 plugin that allows specifying config in pyproject.toml.
Project description
flake8-pep518
Flake8 plugin that allows specifying config in pyproject.toml.
There are a lot of projects that do essentially the same thing, but only this one doesn't make you change the command. Also, it's deadly simple:
pip install flake8-pep518
And that's it!
Usage
Install the plugin with the command above and move your Flake8 config to pyproject.toml
.
[flake8]
ignore = E231, E241
per-file-ignores =
__init__.py:F401
max-line-length = 88
count = true
Rename [flake8]
section to [tool.flake8]
and convert everything else to TOML format.
[tool.flake8]
ignore = ['E231', 'E241']
per-file-ignores = [
'__init__.py:F401',
]
max-line-length = 88
count = true
Run Flake8 as usuall.
flake8
Inspiration
Inspired by Flake8, Flake9, FlakeHeaven and Flake8-pyproject.
License
flake8-pep518 is licensed under the MIT. Please see License.md for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flake8-pep518-0.1.0.tar.gz
.
File metadata
- Download URL: flake8-pep518-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.7.12 Linux/5.13.0-1029-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1546edadec7921e25d32436cd18a17b8a8773dd79a649df91c69b3f7a525d002 |
|
MD5 | 13959c9f626db4e53cdcae44f1f0cb76 |
|
BLAKE2b-256 | bc3b406d3ddc2558df234f1efd80416f876406e92b20b21ab00242647ee37e3f |
File details
Details for the file flake8_pep518-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: flake8_pep518-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.7.12 Linux/5.13.0-1029-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3bdccef6d7fe8f1365550abeb9a92a87dfde52f24c6f40ec6f6ccf2960712f2 |
|
MD5 | 154ae543fa5eaa606a6ab5290c0d04cb |
|
BLAKE2b-256 | 1e23a42ae8b94ed7d42ce261fb1be2588384c3bd69c1f631a39ee9af118301e7 |