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
|
- 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue