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: "1.3.0" hooks: - id: pyproject-fmt