lint.yml 316 Bytes
Newer Older
Leo Pound Singer's avatar
Leo Pound Singer committed
1 2 3 4
lint:
  image: python:slim
  stage: test
  script:
Leo Pound Singer's avatar
Leo Pound Singer committed
5
    - pip install flake8 flake8-codeclimate flake8-docstrings pep8-naming
6
    - flake8 --format=codeclimate | python -c 'from sys import stdin; print("[" + ",".join(stdin) + "]")' | tee codequality.json
Leo Pound Singer's avatar
Leo Pound Singer committed
7 8 9
  artifacts:
    reports:
      codequality: codequality.json