add standard hooks

This commit is contained in:
Bastien Gerard
2021-03-29 22:02:57 +02:00
parent e5a2714baf
commit b9d370c885
26 changed files with 39 additions and 34 deletions

View File

@@ -1,5 +1,12 @@
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks: