forked from kompetenzinventar/ki-backend
Merge pull request 'add pre-commit hook for yapf auto formatting (#20)' (#21) from LukasGrossberger/ki-backend:yapf-pre-commit into main
Reviewed-on: kompetenzinventar/ki-backend#21
This commit is contained in:
commit
3bed7222ec
@ -6,6 +6,12 @@
|
||||
language: system
|
||||
files: ^.*\.py$
|
||||
exclude: ^(migrations).*$
|
||||
- id: yapf
|
||||
name: yapf
|
||||
entry: yapf -i
|
||||
language: system
|
||||
files: ^.*\.py$
|
||||
exclude: ^(migrations).*$
|
||||
- id: unittest
|
||||
name: unittest
|
||||
entry: python -m unittest discover ki
|
||||
|
Loading…
Reference in New Issue
Block a user