.gitlab-ci.yml 299 Bytes
Newer Older
Bo-Chun Chen's avatar
Bo-Chun Chen committed
1
2
3
4
5
6
7
8
9
10
image: "python:3.7"

before_script:
  - python --version
  - pip install flake8
  - pip install pylint

stages:
  - lint

11
linting:
Bo-Chun Chen's avatar
Bo-Chun Chen committed
12
13
14
15
16
17
  tags:
    - lint
  stage: lint
  script:
    - flake8 --exclude=tests.py --max-line-length=120 *.py app
    - pylint --ignore=tests.py --max-line-length=120 *.py app