See #297: added black as a local dependency, more verbose check in CI

This commit is contained in:
Eliot Berriot 2018-06-10 12:10:15 +02:00
commit 77c0b2b1a2
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 4 additions and 7 deletions

View file

@ -20,7 +20,7 @@ black:
before_script:
- pip install black
script:
- black --check api/
- black --check --diff api/
flake8:
image: python:3.6
@ -30,7 +30,7 @@ flake8:
before_script:
- pip install flake8
script:
- flake8 api
- flake8 -v api
cache:
key: "$CI_PROJECT_ID__flake8_pip_cache"
paths: