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

Support formatting using line ranges #9831

Closed
jvacek opened this issue Feb 5, 2024 · 1 comment
Closed

Support formatting using line ranges #9831

jvacek opened this issue Feb 5, 2024 · 1 comment

Comments

@jvacek
Copy link

jvacek commented Feb 5, 2024

Black added support for formatting line-ranges psf/black#4020

Would be nice if this was possible within ruff's formatter. The Black VSCode extension also has support for this now, and allows code to be formatted "on modification" microsoft/vscode-black-formatter#380

@MichaReiser
Copy link
Member

Hy @jvacek Good news. This should be supported in the next ruff release #9733

@MichaReiser MichaReiser closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
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

No branches or pull requests

2 participants