Skip to content

Doesn't work with \n in the string #2

Description

@jbagot

Hi, first of all it's really cool and I was thinking in do this tool but I found yours, I'll contribute here.

The issue is when there is a \n in the string doesn't work.
Also should respect the multiline, because if I have something like:

print(
    "hello %s, "
    "my name is %s" % (world, jordi)
)

It's converted to print(f"hello {world}, my name is {jordi}"), it's correct but it isn't respect the multiline.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions