summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2019-11-09 08:37:11 -0800
committerJustin Mayer <entroP@gmail.com>2019-11-09 08:37:11 -0800
commitd859f93c7b7ed659eee4d8653e060e309f51cc2d (patch)
treea8f727e59ba835a8cc5b1781e6f67ac844bb5531
parente46b6232546a75b31f5cf3ae8f9aa9a624344915 (diff)
downloadpelican-d859f93c7b7ed659eee4d8653e060e309f51cc2d.tar.gz
Add initial Pre-commit configuration file
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000..ef27cfcf
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,13 @@
+# See https://pre-commit.com/hooks.html for info on hooks
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.3.0
+ hooks:
+ - id: check-added-large-files
+ - id: check-ast
+ - id: check-toml
+ - id: check-yaml
+ - id: debug-statements
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: trailing-whitespace