Skip to content
Snippets Groups Projects
Verified Commit 2b1c4631 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

See #297: flake8 CI job

parent 630ab896
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,17 @@ black:
script:
- black --check api/
flake8:
image: python:3.6
stage: lint
variables:
GIT_STRATEGY: fetch
before_script:
- pip install flake8
script:
- flake8 api
cache:
key: "$CI_PROJECT_ID__black_pip_cache"
key: "$CI_PROJECT_ID__flake8_pip_cache"
paths:
- "$PIP_CACHE_DIR"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment