mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-25 18:08:22 -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:
|
||||
- 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:
|
||||
stage: check
|
||||
image: python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue