From 702053a99ccaee8e72594c67572a28f0ed6040cd Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 5 Aug 2024 09:30:19 +0300 Subject: [PATCH] .pre-commit-config.yaml: specify default_language_versions, use xelatex for latexmk --- .pre-commit-config.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99388c6..84d1ff4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,3 @@ -# @format - # See https://pre-commit.com for more information # See https://pre-commit.ci for more information ci: @@ -9,6 +7,12 @@ ci: autoupdate_schedule: quarterly skip: [latexmk, exiftool, prettier] +default_language_version: + node: "lts" + # Remember .python-version ! + python: "3.12" + ruby: ".ruby-version" + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 @@ -78,7 +82,7 @@ repos: exclude_types: [json] - id: latexmk name: latexmk - entry: latexmk -quiet -f + entry: latexmk -xelatex -quiet -f language: system types: [text, tex] # I have no idea where latexmk wants the template