summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-04-27 09:00:02 -0400
committerAllen Winter <allen.winter@kdab.com>2022-04-27 09:00:02 -0400
commit9ee5a18d9a1b64740a2ac93ab4a5840810487641 (patch)
tree3bc941f92ce468c16cf522bc3146023614804a14
parent2bf3ccf864921067aa35c3754b28edd5bf55c36b (diff)
downloadlibical-git-9ee5a18d9a1b64740a2ac93ab4a5840810487641.tar.gz
.pre-commit-config.yaml - pre-commit configuration
-rw-r--r--.pre-commit-config.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000..6c956eb6
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,24 @@
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v3.2.0
+ hooks:
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
+ - id: check-added-large-files
+ - id: check-case-conflict
+ - id: check-yaml
+ - id: check-json
+- repo: https://github.com/pre-commit/mirrors-clang-format
+ rev: v13.0.0
+ hooks:
+ - id: clang-format
+- repo: https://github.com/PyCQA/pylint
+ rev: v2.12.2
+ hooks:
+ - id: pylint
+- repo: https://github.com/codespell-project/codespell
+ rev: v2.1.0
+ hooks:
+ - id: codespell