google / pasta

Library to refactor python code through AST manipulation.
Apache License 2.0
341 stars 40 forks source link

Preliminary support for fstrings #59

Closed soupytwist closed 5 years ago

soupytwist commented 5 years ago

Fairly robust, but doesn't handle the conversion or format_spec attributes yet. However, this does allow arbitrary subexpressions. There may still be issues with escaping strings inside of fstring subexpressions; will address these other cases next.

For #58 (and #35)

googlebot commented 5 years ago

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

lc0 commented 5 years ago

@soupytwist any plans to make a new release?

Would be amazing to bring it dependencies.

soupytwist commented 5 years ago

Soon, yes-- I am hoping to get #61 in today. Will release after that.

lc0 commented 5 years ago

@soupytwist looking forward to the release!

soupytwist commented 5 years ago

0.1.5 is out with these changes :) https://pypi.org/project/google-pasta/0.1.5/