Verified Commit 2b1c4631 authored by Agate's avatar Agate 💬

See #297: flake8 CI job

parent 630ab896
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment