Skip to main content

Inject pyproject.toml support into flake8.

Project description

pipeline status coverage report

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.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flake8-pyprojecttoml-0.0.1.tar.gz
Algorithm Hash digest
SHA256 654d91135ee7f7429ab56dc39a9fb37a48f3e2412e189ae7a756921cb0ffffe5
MD5 612a66fb3febd56d383c38bf568c29fd
BLAKE2b-256 733c7fa8887f90eb6e3f6d4fdbdde7a617779c8db6af4ac53b3914aaa99c3922

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_pyprojecttoml-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 644c3dcf558209ca246239ca4f56844769c863181eab05177d8906dc77bbdb8f
MD5 333a04657159fd789492f8e2d768ccff
BLAKE2b-256 54d3f01f0350f21a3d90622ce32bf9fd1a50083abdf52762ecb4dbab5750ae3a

See more details on using hashes here.

Supported by

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