summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2023-11-17 02:07:19 +0100
committerJustin Gassner <justin.gassner@mailbox.org>2023-11-17 02:07:19 +0100
commitb2f074f14d0a2fab8b1d1b68bb26ceb82c0bd689 (patch)
tree3ac8c9e134a43f506fddab7e5fe2e784093658d1
parent7267b4f9a08ef49e4608cc24431dfa64db4e2814 (diff)
downloadmaster-b2f074f14d0a2fab8b1d1b68bb26ceb82c0bd689.tar.zst
weiter
-rw-r--r--.latexmkrc2
-rw-r--r--.pre-commit-config.yaml33
-rw-r--r--nomenclature.tex1
3 files changed, 35 insertions, 1 deletions
diff --git a/.latexmkrc b/.latexmkrc
index 27dca13..dd257fe 100644
--- a/.latexmkrc
+++ b/.latexmkrc
@@ -1,3 +1,5 @@
+$pdf_mode = 4;
+$lualatex = 'lualatex --shell-escape %O %S';
$aux_dir = 'aux';
# Custom dependency and function for nomencl package
add_cus_dep("nlo", "nls", 0, "nlo2nls");
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..5dec15d
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,33 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ #- id: file-contents-sorter
+ #files: \.(txt)$
+ - id: check-added-large-files
+ - id: check-case-conflict
+ - id: check-executables-have-shebangs
+ - id: check-merge-conflict
+ - id: check-shebang-scripts-are-executable
+ - id: check-symlinks
+ - id: check-vcs-permalinks
+ - id: check-yaml
+ - id: destroyed-symlinks
+ - id: end-of-file-fixer
+ - id: fix-byte-order-marker
+ - id: mixed-line-ending
+ - id: trailing-whitespace
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v3.0.3
+ hooks:
+ - id: prettier
+ types_or: [yaml]
+ - repo: https://github.com/streetsidesoftware/cspell-cli
+ rev: v7.3.0
+ hooks:
+ - id: cspell
+ - repo: https://github.com/adrienverge/yamllint.git
+ rev: v1.29.0
+ hooks:
+ - id: yamllint
+ args: [--strict]
diff --git a/nomenclature.tex b/nomenclature.tex
deleted file mode 100644
index 908d0bb..0000000
--- a/nomenclature.tex
+++ /dev/null
@@ -1 +0,0 @@
-\printnomenclature