-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
cliRelated to the command-line interfaceRelated to the command-line interfacewishNot on the current roadmap; maybe in the futureNot on the current roadmap; maybe in the future
Description
Currently, when running in CI I have to do the following, e.g. in a (simplified) .gitlab-ci.yml:
lint:
script:
- ...
- ruff .
- ruff --format=gitlab . > quality.json
artifacts:
reports:
codequality: quality.jsonI'd like to keep the text output in the job output, but also make use of the capabilities GitLab provides to display violations.
Now, ruff is super fast ⚡, so running twice isn't a pain, but it seems suboptimal. Could we enable one of the following?
ruff --format=text --output=gitlab:/path/to/quality.json .← dedicated--outputoptionruff --format=text --format=gitlab:/path/to/quality.json .← allow multiple--formatwith filenameruff --format=text,gitlab:/path/to/quality.json .← allow multiple values in--format
dm0, ekbfh, scastlara, Mark90, T-256 and 22 more
Metadata
Metadata
Assignees
Labels
cliRelated to the command-line interfaceRelated to the command-line interfacewishNot on the current roadmap; maybe in the futureNot on the current roadmap; maybe in the future