You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for Black - it saves me a TON of time, but even more importantly, greatly reduces my mental load when writing code.
Describe the style change
I suggest maybe a code comment inside a parentheses should remain inside the parentheses.
Examples in the current Black style
Here's the actual use case I am running into today:
# this:h_mincover_in= (3.5# ft *12)
# becomes:h_mincover_in= (3.5*12) # ft
Desired style
I think it should just stay nearly the same?
h_mincover_in= (3.5# ft *12)
Additional context
This is in the context of scientific/engineering computing, so the placement of the comment representing the unit of measurement is important for understanding when reading the code.
The text was updated successfully, but these errors were encountered:
Hi, thanks for Black - it saves me a TON of time, but even more importantly, greatly reduces my mental load when writing code.
Describe the style change
I suggest maybe a code comment inside a parentheses should remain inside the parentheses.
Examples in the current Black style
Here's the actual use case I am running into today:
Desired style
I think it should just stay nearly the same?
Additional context
This is in the context of scientific/engineering computing, so the placement of the comment representing the unit of measurement is important for understanding when reading the code.
The text was updated successfully, but these errors were encountered: