Skip to main content

Format your pyproject.toml file

Project description

pyproject-fmt

PyPI PyPI - Implementation PyPI - Python Version PyPI - Downloads PyPI - License check

apply a consistent format to pyproject.toml files

installation

pip install pyproject-fmt

as a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

- repo: https://github.com/gaborbernat/pyproject-fmt
  rev: "0.1.0"
  hooks:
    - id: pyproject-fmt

cli

Consult the help for the latest usage:

$ pyproject-fmt --help

Supported by

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