summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Libert2024-01-17 10:24:22 +0100
committerBart Libert2024-01-17 10:24:22 +0100
commit4cd35eb3c185bdfc1471ec8691f91b119295190b (patch)
treee4a3d0db9b67d27f3121209860c9d6c9b29d80c6
parentf646932e400179e4bc2c19d2b644703f1d2d4555 (diff)
downloadaur-4cd35eb3c185bdfc1471ec8691f91b119295190b.tar.gz
add .pre-commit-config
-rw-r--r--.pre-commit-config.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 000000000000..07fd3db75be9
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,19 @@
+---
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.5.0
+ hooks:
+ - id: check-added-large-files
+ - id: check-case-conflict
+ - id: check-vcs-permalinks
+ - id: destroyed-symlinks
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: mixed-line-ending
+ - id: trailing-whitespace
+ - repo: https://github.com/edlanglois/pkgbuild-hooks
+ rev: v0.2.0
+ hooks:
+ - id: srcinfo-fixer
+ - id: verify-srcinfo-checksums
+default_install_hook_types: [pre-commit, commit-msg]