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

Fix: ruff version 0.3.0 cli breaking changes #4732

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

yining
Copy link
Contributor

@yining yining commented Mar 1, 2024

This commit appends check to the ruff executable if the version of specified ruff executable is >= 0.3.0, as ruff version 0.3.0 deprecates ruff <path> in favor of ruff check <path>:

https://github.com/astral-sh/ruff/releases/tag/v0.3.0

This commit appends `check` to the ruff executable if the version of
specified ruff executable is `>= 0.3.0`, as ruff version `0.3.0`
deprecates `ruff <path>` in favor of `ruff check <path>`:

https://github.com/astral-sh/ruff/releases/tag/v0.3.0
Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@hsanson hsanson merged commit b01c0b2 into dense-analysis:master Mar 1, 2024
7 checks passed
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.

None yet

2 participants