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