diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d94a25bf957d5c0675a11680583a2dd94f526ad6..9451895dbcef2646dfb15ded64e881b7a06a27d7 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/**/*