From 432f91c0ca56b57406c1fd44775e2f5ab01212df Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 May 2023 13:19:05 +0300 Subject: [PATCH] .pre-commit-config.yaml: add latexmk with exclude of standardi-asiakirja.tex --- .pre-commit-config.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ccf716..12f6e6d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,11 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.ci for more information ci: # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # the frequency of unnecessary PRs. # https://github.com/pre-commit-ci/issues/issues/83 autoupdate_schedule: quarterly - + skip: [latexmk] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 @@ -43,3 +45,12 @@ repos: - id: editorconfig-checker alias: ec 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