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
# Python formatting and static analysis with ruff
ruff:
ruff-lint:
stage: analysis
extends: .python
script:
- ruff check
# Python formatting and static analysis with ruff
ruff-format:
stage: analysis
extends: .python
allow_failure: true
script:
- ruff format --check
# Python type checking with Mypy