-
Notifications
You must be signed in to change notification settings - Fork 806
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
Yapf escapes single quotes #786
Comments
yep, this isn't a problem with the yapf package, but with the client-side javascript escaping/unescaping that gets done. I've started a fix for this already, but not published it, will try to get around to it today... |
BTW I just noticed that "code_prettify" does not suffer the same issues. It seems to also use yapf for python. |
I can't reproduce. Both examples work for me correctly with The I imagine that you have installed a version of the nbextensions where |
oh, apologies all, I seem to have jumped the gun. As @jfbercher says, it seems you have an earlier bersion, so an upgrade should do the trick! |
Yes, I did install the
|
No problem. |
This is probably because of the rename from
plus whichever of the |
Yes, probably. |
Using yapf on the following cell
Results in:
Further,
y = "'"
Yields a:
Note: The command line
yapf
does not show any of these issues.The text was updated successfully, but these errors were encountered: