Compare commits

..

3 Commits

3 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# See https://editorconfig.org for more information
root = true root = true
[*] [*]
@ -8,7 +10,7 @@ charset = utf-8
indent_style = tab indent_style = tab
indent_size = tab indent_size = tab
[*.{markdown,md,tex}] [*.{markdown,md,tex,yaml}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

1
.gitattributes vendored
View File

@ -1 +1,2 @@
# See https://www.git-scm.com/docs/gitattributes#_effects for more information
* text=auto eol=lf linguist-detectable * text=auto eol=lf linguist-detectable

View File

@ -1,8 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.ci for more information
ci: ci:
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly autoupdate_schedule: quarterly
skip: [pdflatex]
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
@ -10,6 +13,7 @@ repos:
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict - id: check-case-conflict
- id: check-yaml
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable - id: check-shebang-scripts-are-executable
- id: destroyed-symlinks - id: destroyed-symlinks
@ -28,3 +32,12 @@ repos:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length] 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]