Skip to content

Commit 1528e7b

Browse files
committed
Integrate 'pre-commit'
Helps me avoid simple style issues. Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent c6c1a4d commit 1528e7b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-executables-have-shebangs
6+
- id: check-merge-conflict
7+
- id: check-yaml
8+
- id: end-of-file-fixer
9+
- id: flake8
10+
- id: trailing-whitespace

0 commit comments

Comments
 (0)