.pre-commit-config.yaml: specify default_language_versions, use xelatex for latexmk

This commit is contained in:
Aminda Suomalainen 2024-08-05 09:30:19 +03:00
parent d37001f4c4
commit 702053a99c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,5 +1,3 @@
# @format
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.ci for more information # See https://pre-commit.ci for more information
ci: ci:
@ -9,6 +7,12 @@ ci:
autoupdate_schedule: quarterly autoupdate_schedule: quarterly
skip: [latexmk, exiftool, prettier] skip: [latexmk, exiftool, prettier]
default_language_version:
node: "lts"
# Remember .python-version !
python: "3.12"
ruby: ".ruby-version"
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 rev: v4.6.0
@ -78,7 +82,7 @@ repos:
exclude_types: [json] exclude_types: [json]
- id: latexmk - id: latexmk
name: latexmk name: latexmk
entry: latexmk -quiet -f entry: latexmk -xelatex -quiet -f
language: system language: system
types: [text, tex] types: [text, tex]
# I have no idea where latexmk wants the template # I have no idea where latexmk wants the template