Metadata-Version: 2.1
Name: pyproject-fmt
Version: 0.1.0
Summary: Format your pyproject.toml file
Project-URL: Bug Tracker, https://github.com/gaborbernat/pyproject-fmt/issues
Project-URL: Documentation, https://github.com/gaborbernat/pyproject-fmt/
Project-URL: Source Code, https://github.com/gaborbernat/pyproject-fmt
Author-email: Bernat Gabor <gaborjbernat@gmail.com>
Keywords: format,pyproject
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.7
Requires-Dist: tomlkit>=0.10.0
Provides-Extra: test
Requires-Dist: covdefaults>=2; extra == "test"
Requires-Dist: pytest-cov>=3; extra == "test"
Requires-Dist: pytest>=7; extra == "test"
Description-Content-Type: text/markdown

# pyproject-fmt

[![PyPI](https://img.shields.io/pypi/v/pyproject-fmt?style=flat-square)](https://pypi.org/project/pyproject-fmt)
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/pyproject-fmt?style=flat-square)](https://pypi.org/project/pyproject-fmt)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyproject-fmt?style=flat-square)](https://pypi.org/project/pyproject-fmt)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/pyproject-fmt?style=flat-square)](https://pypistats.org/packages/pyproject-fmt)
[![PyPI - License](https://img.shields.io/pypi/l/pyproject-fmt?style=flat-square)](https://opensource.org/licenses/MIT)
![check](https://github.com/gaborbernat/pyproject-fmt/workflows/check/badge.svg?branch=main)

apply a consistent format to `pyproject.toml` files

## installation

`pip install pyproject-fmt`

## as a pre-commit hook

See [pre-commit](https://github.com/pre-commit/pre-commit) for instructions

Sample `.pre-commit-config.yaml`:

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

## cli

Consult the help for the latest usage:

```console
$ pyproject-fmt --help
```
