Ajout d'un analyseur syntaxique

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-01-26 11:54:11 +01:00
parent 8ccb1bf085
commit b4130b32f7
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 20 additions and 0 deletions

20
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,20 @@
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