Skip to main content

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.

Metadata

Release files for flake8-pep518 0.2.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 flake8-pep518 0.2.0
File Size Uploaded
flake8-pep518-0.2.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-pep518 0.2.0
File Interpreter ABI Platform
flake8_pep518-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / flake8-pep518-0.2.0.tar.gz

Download URL flake8-pep518-0.2.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4a749ad33be366ada5cfac7e0964351fdeb7fd0e665a99dac3606d0de6d06221
BLAKE2b-256 checksum
How to use checksums
4af2c805c3bda68e156621a7e4a7702a2376ae16ca3b75da6cea713106dab054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.1.2 CPython/3.7.13

Release files / flake8_pep518-0.2.0-py3-none-any.whl

Download URL flake8_pep518-0.2.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
471555f5f2027735456ce1ec9a9305638e80d16243aaea671fe99d90d0dd39d9
BLAKE2b-256 checksum
How to use checksums
e018d8e90c121d691008b8ccd6910d0a364154e6b44a864cf00bf24be9675a41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.1.2 CPython/3.7.13

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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