https://github.com/fluiddyn/formattex-pre-commit
A pre-commit hook for formattex and formatbibtex
https://github.com/fluiddyn/formattex-pre-commit
Last synced: 9 months ago
JSON representation
A pre-commit hook for formattex and formatbibtex
- Host: GitHub
- URL: https://github.com/fluiddyn/formattex-pre-commit
- Owner: fluiddyn
- License: bsd-3-clause
- Created: 2024-01-14T22:15:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T23:34:36.000Z (over 2 years ago)
- Last Synced: 2025-09-14T06:44:49.574Z (9 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# formattex-pre-commit
A [pre-commit](https://pre-commit.com/) hook for
[formattex](https://pypi.org/project/formattex/) and
[formatbibtex](https://pypi.org/project/formatbibtex/).
## Usage
Add the following to your `.pre-commit-config.yaml`:
```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
```