-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove --line-length
option from format
command
#8131
Conversation
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
PR Check ResultsEcosystem✅ ecosystem check detected no changes. |
So what is the way to set a global line length that works across projects in VS Code? astral-sh/ruff-vscode#6 |
You can use |
Em, it seems not working. Is the following correct? I am using ruff v0.2.2.
|
The option should either be |
Thanks! |
Summary
This PR removes the undocumented
--line-length
setting from theformat
command.The main reason is that we should either support all formatter options or none of them. I would prefer not supporting formatter options via the CLI.
We can reintroduce the option in the beta based on user feedback.
Test Plan