Skip to content

Proper formatting of mathematical expression with Ruff #8543

Answered by MichaReiser
cgadal asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @cgadal

Thanks for your feedback. We received similar feedback around formatting python code in the scientific community in the Formatter Beta. Our main focus for now is compatibility with black instead of innovating a new formatters style, but we'll eventually look into how Ruff can better format complex mathematical expressions (and we'll need the community's feedback to achieve this). But for now, changing the way mathematical expressions isn't planned.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ma-sadeghi
Comment options

Answer selected by cgadal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants