Skip to main content

Inject pyproject.toml support into flake8.

Project description

pipeline status coverage report python versions


This extension adds support reading flake8 config from pyproject.toml. It uses flake8’s plugin system to automatically monkeypatch the config system. Settings from pyproject.toml will be used regardless of invocation (CLI, pytest, IDE, …).

Getting started

Simply install with pip:

pip install flake8-pyprojecttoml

Migrate your flake8 config to pyproject.toml (example) and use as usual.


Thank you for considering to contribute to flake8-pyprojecttoml.

To submit issues or create merge requests please follow the instructions provided in the contribution guide.

By contributing to flake8-pyprojecttoml you accept and agree to the terms and conditions laid out in there.


Clone the repository and setup your local checkout:

git clone

cd flake8-pyprojecttoml
python -m venv venv
. venv/bin/activate

pip install -r requirements-dev.txt
pip install -e .

This creates a new virtual environment with the necessary python dependencies and installs flake8-pyprojecttoml in editable mode. The flake8-pyprojecttoml code base uses pytest as its test runner, run the test suite by simply invoking:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-pyprojecttoml-0.0.2.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

flake8_pyprojecttoml-0.0.2-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page