Ajout d'un analyseur syntaxique
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
8ccb1bf085
commit
b4130b32f7
|
@ -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
|
Loading…
Reference in New Issue