mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-21 18:59:22 +01:00
.pre-commit-config.yaml: specify default_language_versions, use xelatex for latexmk
This commit is contained in:
parent
d37001f4c4
commit
702053a99c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user