.pre-commit-config.yaml: add latexmk with exclude of standardi-asiakirja.tex

This commit is contained in:
Aminda Suomalainen 2023-05-20 13:19:05 +03:00
parent 4fa288ddd1
commit 432f91c0ca
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,9 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.ci for more information
ci: ci:
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly autoupdate_schedule: quarterly
skip: [latexmk]
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 rev: v4.4.0
@ -43,3 +45,12 @@ repos:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length] args: [-disable-max-line-length]
- repo: local
hooks:
- id: latexmk
name: latexmk
entry: latexmk -quiet
language: system
types: [text, tex]
# I have no idea where latexmk wants the template
exclude: LaTeX\/standardi-asiakirja.tex