mirror of https://github.com/astral-sh/ruff
docs: Output file option with GitLab integration (#21706)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
a6cbc138d2
commit
4686c36079
|
|
@ -88,7 +88,7 @@ You can add the following configuration to `.gitlab-ci.yml` to run a `ruff forma
|
||||||
Ruff Check:
|
Ruff Check:
|
||||||
extends: .base_ruff
|
extends: .base_ruff
|
||||||
script:
|
script:
|
||||||
- ruff check --output-format=gitlab > code-quality-report.json
|
- ruff check --output-format=gitlab --output-file=code-quality-report.json
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
codequality: $CI_PROJECT_DIR/code-quality-report.json
|
codequality: $CI_PROJECT_DIR/code-quality-report.json
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue