diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ff9a8ef..6b3b25b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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]