A pre-commit hook for formattex and formatbibtex.
Add the following to your .pre-commit-config.yaml
:
- repo: https://github.com/fluiddyn/formattex-pre-commit
# Formattex version.
rev: 0.1.4
hooks:
# Run the formatter for tex files.
- id: formattex
# Run the formatter for bibtex files.
- id: formatbibtex