From b4130b32f7a47b208f0d18cab525caf6370a1a74 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 26 Jan 2021 11:54:11 +0100 Subject: [PATCH] Ajout d'un analyseur syntaxique Signed-off-by: Yohann D'ANELLO --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7b79703 --- /dev/null +++ b/.gitlab-ci.yml @@ -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