From b38bf30b5653fafc4f331ecd69ba25b3634e0803 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Tue, 2 Dec 2025 19:44:14 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f1d283..f4eb21d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,17 @@ stages: # List of stages for jobs, and their order of execution + - lint - build - clean +lint: + stage: lint + image: python:3.12 + script: + - pip install flake8 black pylint + - flake8 . + - black --check . + - pylint portainer.py + build-job: # This job runs in the build stage, which runs first. stage: build script: