add pre-commit

This commit is contained in:
2021-06-21 21:43:49 +02:00
parent d96dfa8800
commit 4d88ee8b77
5 changed files with 140 additions and 3 deletions

8
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,8 @@
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: system
files: ^.*\.py$
exclude: ^(migrations).*$