diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 711d55d..d071af4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -139,6 +139,19 @@ python-black: script: - black --check --diff . +# Lint with Ruff +# +python-ruff: + extends: + - .fdo.ci-fairy + stage: prep + before_script: + - python3 -m venv venv + - source venv/bin/activate + - pip3 install ruff + script: + - ruff check --ignore E741,E501 . + # # Build distribution-specific images used by the jobs in the build stage # diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index 2555532..ac81660 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -149,6 +149,19 @@ python-black: script: - black --check --diff . +# Lint with Ruff +# +python-ruff: + extends: + - .fdo.ci-fairy + stage: prep + before_script: + - python3 -m venv venv + - source venv/bin/activate + - pip3 install ruff + script: + - ruff check --ignore E741,E501 . + # # Build distribution-specific images used by the jobs in the build stage #