mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-26 02:18:21 -04:00
gitlab-ci: add ruff lint
This commit is contained in:
parent
3f4123e98b
commit
35ef46332b
1 changed files with 10 additions and 0 deletions
|
@ -15,6 +15,16 @@ format:
|
||||||
script:
|
script:
|
||||||
- ruff format --check --diff
|
- ruff format --check --diff
|
||||||
|
|
||||||
|
lint:
|
||||||
|
stage: check
|
||||||
|
extends: .ruff
|
||||||
|
script:
|
||||||
|
- ruff check --output-format=gitlab > code-quality-report.json || true
|
||||||
|
- ruff check
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
codequality: $CI_PROJECT_DIR/code-quality-report.json
|
||||||
|
|
||||||
typecheck:
|
typecheck:
|
||||||
stage: check
|
stage: check
|
||||||
image: python
|
image: python
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue