---
name: "pyproject-fmt"
section: "1"
platform: "linux"
package: "python3-pyproject-parser"
version: "0.13.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pyproject-fmt"
---

# pyproject-fmt(1)

Reformat the given 'pyproject.toml' file

## NAME

**pyproject-fmt** - Reformat the given 'pyproject.toml' file

## USAGE

**pyproject-fmt \[OPTIONS\] \[PROJECT\]**

## DESCRIPTION

**pyproject-fmt is designed to reformat the provided 'pyproject.toml' file** **file via the command line.**

## OPTIONS

- **-E, --encoder-class TEXT**

  **The class to encode the config to TOML with.  \[default:** **pyproject\_parser:PyProjectTomlEncoder\]**

- **-d, --show-diff**

  **Show a (coloured) diff of changes.**

- **--colour / --no-colour**

  **Whether to use coloured output.**

- **-P, --parser-class TEXT**

  **The class to parse the 'pyproject.toml' file with.  \[default: pyproject\_parser:PyProject\]**

- **-T, --traceback**

  **Show the complete traceback on error.**

- **-h, --help**

  **Show the help message and exit.**

## AUTHORS

**Written by Dominic Davis-Foste \<dominic@davis-foster.co.uk\>**

**This manual page was written by Josenison F. da Silva \<nilsonfsilva@hotmail.com\>**
