ci: Enable ruff checks
This commit is contained in:
@@ -20,6 +20,17 @@ test-isort:
|
|||||||
- isort --check .
|
- isort --check .
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
|
test-ruff:
|
||||||
|
image: gajim-test
|
||||||
|
stage: test
|
||||||
|
rules:
|
||||||
|
- changes:
|
||||||
|
- "**/*.py"
|
||||||
|
script:
|
||||||
|
- ruff --version
|
||||||
|
- ruff check .
|
||||||
|
interruptible: true
|
||||||
|
|
||||||
test-black:
|
test-black:
|
||||||
image: gajim-test
|
image: gajim-test
|
||||||
stage: test
|
stage: test
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ repos:
|
|||||||
rev: v0.6.8
|
rev: v0.6.8
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
stages: [manual]
|
|
||||||
exclude: ".githooks/"
|
exclude: ".githooks/"
|
||||||
|
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
|||||||
Reference in New Issue
Block a user