summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Libert2023-12-05 09:44:22 +0100
committerBart Libert2023-12-05 09:44:22 +0100
commit2e0b69576b932add5e19d07546c9490580088d54 (patch)
treef2a14913b1e894b1ac16edd874d66586fc8be02d
parent497952c55c1b84fbbd5bacb343da04ba4b0a1fac (diff)
downloadaur-2e0b69576b932add5e19d07546c9490580088d54.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]