seminaire-ci/.gitlab-ci.yml

21 lines
332 B
YAML

stages:
- linting
flake8:
stage: linting
image: python:3-alpine
before_script:
- pip install flake8 --no-cache-dir
script: flake8 main.py
allow_failure: true
pylint:
stage: linting
image: python:3-alpine
before_script:
- pip install pylint --no-cache-dir
script: pylint main.py
allow_failure: true