add pre-commit hook for yapf auto formatting (#20)
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
d10706e301
commit
cb97db9579
@ -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