From 336b504377fcd584d3d659e0327f7c780077a968 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Wed, 2 Apr 2025 13:39:12 +0100 Subject: [PATCH] Split up ruff format and lint allowing format to fail --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04d32ccb..f873a509 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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