Add pre-commit

This commit is contained in:
Charles-Axel Dein committed 2020-07-21 09:31:05 +02:00
1 parent c328d43192
commit 8223281252
3 files changed
+15 -6

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
- repo: https://github.com/thlorenz/doctoc
rev: v1.4.0
hooks:
- id: doctoc