mirror of
https://git.piraattipuolue.fi/mikaela/testi.git
synced 2024-11-27 06:09:39 +01:00
.pre-commit-config.yaml: add local hook pdflatex draft mode
This commit is contained in:
parent
ab667a0208
commit
bbba9092f4
@ -3,6 +3,7 @@ ci:
|
||||
# the frequency of unnecessary PRs.
|
||||
# https://github.com/pre-commit-ci/issues/issues/83
|
||||
autoupdate_schedule: quarterly
|
||||
skip: [pdflatex]
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
@ -28,3 +29,12 @@ repos:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pdflatex
|
||||
name: pdflatex draft mode
|
||||
entry: pdflatex
|
||||
args: ["-draftmode", "-halt-on-error"]
|
||||
language: system
|
||||
types: [tex]
|
||||
|
Loading…
Reference in New Issue
Block a user