From 4c5db698512034b109815cfb6590d70d7d56843e Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Mon, 28 Aug 2023 17:15:15 +0200 Subject: [PATCH] add ruff test --- .gitlab-ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d94a25b..9451895 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ include: - local: 'templates/python/code_quality/black/black.yml' - local: 'templates/python/code_quality/isort/isort.yml' - local: 'templates/python/code_quality/mypy/mypy.yml' + - local: 'templates/python/code_quality/ruff/ruff.yml' pytest: stage: templates @@ -31,18 +32,6 @@ flake8: - templates/python/code_quality/flake8/**/* - tests/flake8_project/**/* -#flake8-plugin: -# stage: templates -# variables: -# PROJECT_PATH: "tests/flake8_project" -# PYTHON_SETUP: "pip install flake8 flake8-bugbear" -# only: -# changes: -# - .gitlab-ci.yml -# - pyproject.toml -# - templates/python/code_quality/flake8/**/* -# - tests/flake8_project/**/* - black: stage: templates variables: @@ -76,3 +65,14 @@ mypy: - pyproject.toml - templates/python/code_quality/mypy/**/* - tests/mypy_project/**/* + +ruff: + stage: templates + variables: + PROJECT_PATH: "tests/ruff_project" + only: + changes: + - .gitlab-ci.yml + - pyproject.toml + - templates/python/code_quality/ruff/**/* + - tests/ruff_project/**/* -- GitLab