Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

New ruff syntax: ruff -> ruff check #33

Closed
wants to merge 1 commit into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Aug 12, 2024

error: ruff <path> has been removed. Use ruff check <path> instead.

@@ -20,7 +20,7 @@
sys.exit(1)
version_specifier = f"=={VERSION}"

req = f"ruff{version_specifier}"
req = f"ruff{version_specifier} check"

Choose a reason for hiding this comment

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

Instead of adding "check" here, it feels more correct to include it below in the argument list:

proc = run(["pipx", "run", req, "check", *shlex.split(ARGS), *files_to_check])

What do you think?

@cclauss cclauss closed this Aug 12, 2024
@cclauss cclauss deleted the patch-1 branch August 12, 2024 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants