-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Incorrect check on string interpolation #1717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This does look like it's related to the |
Ok, so basically this has to do with a regex in Overall, I have been researching and %% should be an escape character, so this is what I think should be done: Prepend EDIT: Testing this change returns empty matches; Should be easier to filter out. |
Wanna add tests and submit a PR? On Monday, July 18, 2016, Fabian Heredia Montiel [email protected]
--Guido (mobile) |
Working on it; if I get it to pass locally I will open a PR. |
This fixes #1717 and adds the corresponding test.
When sending this type-correct code
through mypy, I get the following:
Which should be accepted; the only interpolator I'm using withot keys is "%%" which is just an escape and can not cause problems
The text was updated successfully, but these errors were encountered: