Skip to main content

Inject pyproject.toml support into flake8.

Project description

pipeline status coverage report python versions

flake8-pyprojecttoml

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.

Contributing

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.

Development

Clone the repository and setup your local checkout:

git clone https://gitlab.com/durko/flake8-pyprojecttoml.git

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:

pytest

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flake8-pyprojecttoml-0.0.2.tar.gz.

File metadata

  • Download URL: flake8-pyprojecttoml-0.0.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.7

File hashes

Hashes for flake8-pyprojecttoml-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b78dd64254e2d6aa596b5be4e2a41b81147cafec57760de1c7322d025159983c
MD5 543684764c4189a4b40d92d393174c20
BLAKE2b-256 c14513738b3de5a3782687a646ff1eb7d975575833cdaa3f1f82c20fafd6e856

See more details on using hashes here.

File details

Details for the file flake8_pyprojecttoml-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_pyprojecttoml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37b9a8e5274d04591fbecc0782f626fb31b8d266e26192ce18ada25dabfc9f1d
MD5 abac08748d626238c2a2bd8d86726277
BLAKE2b-256 492877e626142f99f69001e20748fc63a95ce7dc03995cd374bcc457c680a591

See more details on using hashes here.

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