Split up ruff format and lint allowing format to fail
This commit is contained in:
parent
9fb417e4e6
commit
336b504377
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue