Split up ruff format and lint allowing format to fail

This commit is contained in:
Julian Stirling 2025-04-02 13:39:12 +01:00
parent 9fb417e4e6
commit 336b504377

View file

@ -59,11 +59,18 @@ meta-build-image:
- web - web
# Python formatting and static analysis with ruff # Python formatting and static analysis with ruff
ruff: ruff-lint:
stage: analysis stage: analysis
extends: .python extends: .python
script: script:
- ruff check - ruff check
# Python formatting and static analysis with ruff
ruff-format:
stage: analysis
extends: .python
allow_failure: true
script:
- ruff format --check - ruff format --check
# Python type checking with Mypy # Python type checking with Mypy