Skip to content
Snippets Groups Projects
Commit dc7b60b7 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add .gitlab-ci.yml

parent f0f1d300
No related branches found
No related tags found
1 merge request!1Linting with CI pipeline
image: "python:3.7"
before_script:
- python --version
- pip install flake8
- pip install pylint
stages:
- lint
flake8:
tags:
- lint
stage: lint
script:
- flake8 --exclude=tests.py --max-line-length=120 *.py app
pylint:
tags:
- lint
stage: lint
script:
- pylint --ignore=tests.py --max-line-length=120 *.py app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment