pyproject-fmt Apply a consistent format to pyproject.toml files. Read the full documentation here. add to pre-commit - repo: https://github.com/tox-dev/pyproject-fmt rev: "0.9.2" hooks: - id: pyproject-fmt