ki-backend/.pre-commit-config.yaml

21 lines
434 B
YAML
Raw Normal View History

2021-06-21 21:43:49 +02:00
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: system
files: ^.*\.py$
exclude: ^(migrations).*$
- id: yapf
name: yapf
entry: yapf -i
language: system
files: ^.*\.py$
exclude: ^(migrations).*$
2021-06-22 17:35:27 +02:00
- id: unittest
name: unittest
entry: python -m unittest discover ki
language: system
exclude: .*
always_run: true