aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2020-12-24 11:27:49 +0100
committerJan Sucan <jan@jansucan.com>2020-12-24 11:27:49 +0100
commit6ea7dffe9afcb9531fbf20c66718801d9805d940 (patch)
treee6d85d7a731dd8b9935a131ed4d098079fe2e87a /.pre-commit-config.yaml
parent7a416aeaf2547f719b50b030e37891abe0935c4d (diff)
Add basic configuration for the pre-commit package manager
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..0e16935
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+# 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