Implement pre-commit hooks
This commit is contained in:
parent
00de10f338
commit
d8ea95b05d
3 changed files with 24 additions and 0 deletions
9
.pre-commit-config.yaml
Normal file
9
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-yapf
|
||||
rev: v0.30.0
|
||||
hooks:
|
||||
- id: yapf
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.8.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
Loading…
Reference in a new issue