From 20864ba05377e3d4eb37c41077e608e4a2d59649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 9 Feb 2025 09:34:04 +0100 Subject: [PATCH] ci: Enable ruff checks --- .gitlab-ci.yml | 11 +++++++++++ .pre-commit-config.yaml | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6577e4d..5818876 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,17 @@ test-isort: - isort --check . interruptible: true +test-ruff: + image: gajim-test + stage: test + rules: + - changes: + - "**/*.py" + script: + - ruff --version + - ruff check . + interruptible: true + test-black: image: gajim-test stage: test diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9e0f2b..d04cb53 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,6 @@ repos: rev: v0.6.8 hooks: - id: ruff - stages: [manual] exclude: ".githooks/" - repo: https://github.com/codespell-project/codespell