Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass --output-format instead of --format to ruff #366

Closed
wants to merge 1 commit into from

Conversation

ZeeD
Copy link
Contributor

@ZeeD ZeeD commented Oct 18, 2023

since version 0.0.291 ruff executable has replaced --format with --output-format. And in ruff 0.1.0 the only supported parameter is the new one

since [version 0.0.291](https://github.com/astral-sh/ruff/releases/tag/v0.0.291) ruff executable has replaced `--format` with `output-format`. And in ruff `0.1.0` the only supported parameter is the new one
@vnmabus
Copy link

vnmabus commented Jan 19, 2024

As a workaround, you can add check --output-format=json -- to the "Arguments to pass to the Ruff command" section.

@fabioz
Copy link
Owner

fabioz commented Jan 20, 2024

Thanks for the PR. I actually ended up implementing it a bit differently in 0267bdd (so that it works with new and old versions).

@fabioz fabioz closed this Jan 20, 2024
@ZeeD ZeeD deleted the patch-1 branch January 21, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants