pyproject-fmt-rust 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-rust rev: "1.7.0" hooks: - id: pyproject-fmt-rust