aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 63ed2316e7f51f20724bef2089036b9b2b50422b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
image: "python:3.7"

# setup environemnt
before_script:
  - python --version
  - pip install -r requirements.txt
  - pip install flake8

stages:
  - check

flake8:
  stage: check
  script:
    # breaking errors and syntax errors
    - flake8 --select=E9,F63,F7,F82 --show-source
    # pep8 warnings
    - flake8 --max-complexity=10 --max-line-length=120 --show-source