-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
area:contributingIssues and PRs related to the Contributing/Development section of the documentationIssues and PRs related to the Contributing/Development section of the documentationbug
Description
Relevant Section
You can apply ruff manually to one or more files with the following command:
ruff -l 120 <path/to/file(s)>
The Issue
This no longer works with recent versions of ruff (tested with v0.12.8).
error: 'ruff' requires a subcommand but one was not provided
There is also no longer a -l
argument for the maximum line length.
error: unexpected argument '-l' found
The Fix
The new correct usage is:
ruff format --length-line 120 <path/to/file(s)>
Metadata
Metadata
Assignees
Labels
area:contributingIssues and PRs related to the Contributing/Development section of the documentationIssues and PRs related to the Contributing/Development section of the documentationbug