Open alexmojaki opened 1 year ago
Interesting and not thought about in: https://github.com/isidentical/refactor/pull/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:
''', """
and allow a match
This refactoring, similar to what I actually used:
produces this:
This changes the value of the string.
Possibly related is https://github.com/isidentical/refactor/issues/12, but I couldn't reproduce an equivalent problem with just
ast.unparse
: