.pre-commit-config.yaml: add local hook pdflatex draft mode

This commit is contained in:
Aminda Suomalainen ⚧ 2023-05-20 12:29:02 +03:00
parent ab667a0208
commit bbba9092f4
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 10 additions and 0 deletions

View File

@ -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]