Socket
Book a DemoInstallSign in
Socket

flake8-pep518

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flake8-pep518

Flake8 plugin that allows specifying config in pyproject.toml.

0.2.0
pipPyPI
Maintainers
1

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.

Keywords

flake8

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.