From fccc10fc5c8b847d82ca7446c957caa49a7440f6 Mon Sep 17 00:00:00 2001
From: Bartek Wrona <wrona@syncad.com>
Date: Fri, 21 Mar 2025 15:28:19 +0100
Subject: [PATCH] Updated ruff command spawn to satisfy this tool new version

---
 templates/python_projects.gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/python_projects.gitlab-ci.yml b/templates/python_projects.gitlab-ci.yml
index df0bc26..3ff161e 100644
--- a/templates/python_projects.gitlab-ci.yml
+++ b/templates/python_projects.gitlab-ci.yml
@@ -63,9 +63,9 @@ variables:
   script:
     - if [ -z "${PYPROJECT_CONFIG_PATH}" ]; then MAYBE_EXPLICIT_CONFIG=""; else MAYBE_EXPLICIT_CONFIG="--config ${PYPROJECT_CONFIG_PATH}"; fi
     - echo -e "${TXT_BLUE}Linting all sources with Ruff (check)...${TXT_CLEAR}" &&
-      ruff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
+      ruff check ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
     - echo -e "${TXT_BLUE}Linting all sources with Ruff (diff)...${TXT_CLEAR}" &&
-      ruff --diff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
+      ruff check --diff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
 
 .formatting_with_black_check_template:
   extends: .project_develop_configuration_template
-- 
GitLab