mirror of https://github.com/sipwise/repoapi.git
> https://www.djangoproject.com/weblog/2020/feb/03/security-releases/ * add pre-commit config and update README.md about it This will help to tidy the code Change-Id: I769f847e3ac0c64221aebbc5d850bb331371ced8changes/88/37488/5
parent
858fdf6c19
commit
1abb5aa45d
@ -0,0 +1,13 @@
|
|||||||
|
default_language_version:
|
||||||
|
# force all unspecified python hooks to run python3
|
||||||
|
python: python3
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/psf/black
|
||||||
|
rev: stable
|
||||||
|
args: -t py37
|
||||||
|
hooks:
|
||||||
|
- id: black
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v2.3.0
|
||||||
|
hooks:
|
||||||
|
- id: flake8
|
||||||
Loading…
Reference in new issue