From 05aa62cbed5c37f442fa11181fdeb34302d0e21e Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Tue, 2 Dec 2025 20:00:13 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a00597a..2a7d5c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,11 @@ stages: # List of stages for jobs, and their order of execution lint: stage: lint image: python:3.12 + before_script: + - python3 -m pip install --user flake8 black pylint + - export PATH="$PATH:/home/gitlab-runner/.local/bin" + # - echo "PATH is now: $PATH" script: - - pip install flake8 black pylint --break-system-packages - flake8 . - black --check . - pylint portainer.py