Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add pre-commit config

Scott Peshak1a339dba01ce
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 000000000..605cb362f
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,15 @@
+---
+- repo: git://github.com/pre-commit/pre-commit-hooks
+ sha: v1.4.0
+ hooks:
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
+ - id: autopep8-wrapper
+ - id: check-yaml
+ - id: check-merge-conflict
+ - id: debug-statements
+ - id: flake8
+- repo: git://github.com/detailyang/pre-commit-shell
+ sha: 1.0.2
+ hooks:
+ - id: shell-lint