Commit graph

5 commits

Author SHA1 Message Date
Jennifer Taylor
3fb60b9706 Make parser package private
Now that this is imported from the top level, make it private.
2019-07-26 12:48:22 -07:00
Jennifer Taylor
3dec7be6ef Export things from libcst's base__init__.py
Go through and clean up where we export things from in the top level
directories. This is the first pass at cleaning up the public API. In
this diff I clean up all top-level exports that were coming out of .py
files and instead export them from libcst's base module itself.

I also didn't export a few of the things defined in newly underscored
files because they were only used internally.
2019-07-26 12:48:22 -07:00
Benjamin Woodruff
4f0eb3b043 Fix whitespace handling around strings
Strings are safe to use with a word operator in many cases, so this
fixes it to support that.

This was causing some parser errors in
`commerce/shopping_recommendations_service_shots.py` due to some whacky
f-strings. We weren't encountering those errors before, because of other
f-string parsing issues that we were hitting first.
2019-07-22 20:04:37 -07:00
Jennifer Taylor
a0bfc90339 Make ParserSyntaxError picklable 2019-07-22 19:53:49 -07:00
Jennifer Taylor
0719faa198 Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00