A pre-commit hook for tombi.
Distributed as a standalone repository to enable installing tombi via prebuilt wheels from PyPI.
Add the following to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v0.3.54
hooks:
- id: tombi-format
Optionally, you can also install the tombi linter as a pre-commit hook:
repos:
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v0.3.54
hooks:
- id: tombi-format
- id: tombi-lint