-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (31 loc) · 913 Bytes
/
.pre-commit-config.yaml
File metadata and controls
32 lines (31 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# SPDX-FileCopyrightText: Copyright © 2025 Idiap Research Institute <contact@idiap.ch>
repos:
- repo: https://github.com/jonasbb/pre-commit-latex-hooks
rev: v1.5.0
hooks:
- id: no-space-in-cite
- id: tilde-cite
- id: unique-labels
- repo: local
hooks:
- id: tex-fmt
name: Format LaTeX files with tex-fmt (local)
language: system
entry: tex-fmt
args: [--fail-on-change]
files: \.(tex|bib|cls|sty)$
stages: [pre-commit, pre-merge-commit, pre-push, manual]
- repo: https://gitlab.com/bmares/check-json5
rev: v1.0.1
hooks:
- id: check-json5
- repo: builtin
hooks:
- id: check-added-large-files
- id: check-toml
- id: check-yaml
- id: trailing-whitespace
files: .*\.(?:tex|bib)$
- id: end-of-file-fixer
- id: check-merge-conflict
args: [--assume-in-merge]