Skip to content

Output file configuration option #1691

@kieran-ryan

Description

@kieran-ryan

Provide a --output-file configuration option - matching ruff - to specify file to output the linter output rather than the user handling through other means. Standardises configuration across Astral toolchains.

Ty Check:
  script:
    - ty check --output-format=gitlab --output-file=code-quality-report.json
  artifacts:
    reports:
      codequality: $CI_PROJECT_DIR/code-quality-report.json
Ruff Check:
  script:
    - ruff check --output-format=gitlab --output-file=code-quality-report.json
  artifacts:
    reports:
      codequality: $CI_PROJECT_DIR/code-quality-report.json

Related astral-sh/ruff#21706.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfaceneeds-designNeeds further design before implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions