Konferenzseminar-ML-PAL/.pre-commit-config.yaml
Philipp Horstenkamp a0e7a464f2
Some checks failed
Latex Build / LatexBuild (push) Failing after 10s
Staged a some first texts.
2023-11-07 02:22:41 +01:00

56 lines
1.3 KiB
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
exclude: (.txt$|.ipynb$|README.md$|readme.mde$)
- id: trailing-whitespace
exclude: (.txt$|README.md$)
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-xml
# - id: check-added-large-files
args: [--enforce-all]
- id: name-tests-test
- id: detect-private-key
- id: check-case-conflict
- id: check-symlinks
- id: check-docstring-first
- id: pretty-format-json
- id: check-merge-conflict
- id: no-commit-to-branch
args: [--branch, main]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.10.0
hooks:
- id: pretty-format-ini
args: [--autofix]
- id: pretty-format-toml
args: [--autofix]
- id: pretty-format-yaml
args: [--autofix]
- repo: https://github.com/frnmst/md-toc
rev: 8.2.0
hooks:
- id: md-toc
- repo: https://github.com/Lucas-C/pre-commit-hooks-java
rev: 1.3.10
hooks:
- id: validate-html
- repo: https://github.com/jonasbb/pre-commit-latex-hooks
rev: v1.4.3
hooks:
- id: american-eg-ie
- id: cleveref-capitalization
# - id: csquotes
# - id: ensure-labels-for-sections
- id: no-space-in-cite
- id: tilde-cite
- id: unique-labels
- id: cleveref-instead-of-autoref