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