Commit graph

9 commits

Author SHA1 Message Date
Keyan Pishdadian
3c9a97ce14 Add test for naming module and fix logic to cover 2015-02-12 11:58:38 -05:00
Keyan Pishdadian
2630ace9ef Fix issue with wrapper logic 2015-02-11 15:22:07 -05:00
Keyan Pishdadian
77668e1d65 Change wrapper logic for testing 2015-02-11 14:53:39 -05:00
Keyan Pishdadian
f0ba70cda4 Add wrapper for testing fixing functionality 2015-02-11 14:41:48 -05:00
Keyan Pishdadian
fb9ba1d76d Support "import flask.ext.foo" format
New commit supports the above import format, however it does not fix function calls elsewhere in the source. Perhaps there should be an error or simply alert the user through stdout().
2015-02-11 14:29:04 -05:00
Keyan Pishdadian
3ae34f782f Cleanup 2015-02-11 13:29:50 -05:00
Keyan Pishdadian
38c8f47d46 Change parsing format to use AST via RedBaron
Moved away from using manual parsing. Source is parsed using RedBaron to make the FST. Some import formats not yet implemented, and still some bugs to work out. However, the current script works well for the two cases in the file comments.
2015-02-11 13:07:24 -05:00
Keyan Pishdadian
508614fed2 Add lib2to3 fixer base code
Switching to using RedBaron instead of lib2to3, committing to save lib2to3 code in case using Baron is not successful.
2015-02-10 11:23:16 -05:00
Keyan Pishdadian
0104498ffa Early commit for issue #1135
Add support migrating single imports from the flask.ext style to flask_
2015-02-06 14:38:33 -05:00