pyproject-flake8 (`pflake8`), a monkey patching wrapper to connect flake8 with pyproject.toml configuration
A monkey patching wrapper to connect flake8 with
More and more tools are able to utilize a shared
pyproject.toml, alleviating the need for many individual configuration files cluttering a project repository.
flake8 is not aimed to support
pyproject.toml, this wrapper script tries to fix the situation.
pip install .
pip install pyproject-flake8
Use your favorite PEP517 compliant builder, e.g.:
# install first via: pip install build python -m build # packges will reside in dist/
pflake8 instead of
Configuration goes into the
tool.flake8 section of
[tool.flake8] max-line-length = 88 extend-ignore = "E203," max-complexity = 10
Two other projects aim to address the same problem:
Both seem to try to do a lot more than just getting
pyproject-flake8 tries to stay minimal while solving its task (with currently around 40 lines).
This script monkey-patches flake8 and the configparser library of Python, therefore loading it as a module may have unforeseen consequences. Alpha quality. Use at your own risk. It will likely break if either Python or flake8 restructure their code significantly. No guarantees for stability between versions.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyproject_flake8-0.0.1a2-py2.py3-none-any.whl (3.9 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size pyproject-flake8-0.0.1a2.tar.gz (2.1 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pyproject_flake8-0.0.1a2-py2.py3-none-any.whl