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
Interesting and not thought about in: #66, which partially solves the issue with a line, but because it is f-string'd with parenthesis, still applies the indent for """ line, due to """ not matching """) - Looking into a workaround to improve the PR, maybe:
Detecting that the difference with source is only ')' and allow a match (meaning, no indent)
Detecting that the new line and old line first matching chars are in ''', """ and allow a match
This refactoring, similar to what I actually used:
produces this:
This changes the value of the string.
Possibly related is #12, but I couldn't reproduce an equivalent problem with just
ast.unparse
:The text was updated successfully, but these errors were encountered: