See #297: added black formatting check in CI
This commit is contained in:
parent
e953468e69
commit
aac80177f5
|
@ -6,10 +6,20 @@ variables:
|
||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- lint
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
black:
|
||||||
|
image: python:3.6
|
||||||
|
stage: lint
|
||||||
|
before_script:
|
||||||
|
- pip install black
|
||||||
|
script:
|
||||||
|
- black --check api/
|
||||||
|
|
||||||
|
|
||||||
test_api:
|
test_api:
|
||||||
services:
|
services:
|
||||||
- postgres:9.4
|
- postgres:9.4
|
||||||
|
|
Loading…
Reference in New Issue