Commit Graph

71 Commits

Author SHA1 Message Date
Dave Halter
2fd4567d6f Add a test from jedi. 2017-05-24 00:42:17 -04:00
Dave Halter
a07801327c Bump version. 2017-05-24 00:17:46 -04:00
Dave Halter
726ebade70 Autodiscover packages with find_packages in setup.py. v0.0.2 2017-05-24 00:16:05 -04:00
Dave Halter
f2c257d7dd Move the utility function parse to the __init__ script. 2017-05-24 00:08:58 -04:00
Dave Halter
25941bbfb8 A parso docstring. 2017-05-23 14:36:45 -04:00
Dave Halter
29fa0d27fc Whitespace. 2017-05-23 14:24:38 -04:00
Dave Halter
775679d481 Move the grammar creation stuff into grammar.py. 2017-05-23 14:24:26 -04:00
Dave Halter
51a6328096 Make some default changes to create_grammar. 2017-05-23 14:21:39 -04:00
Dave Halter
89501e6fa5 Fix an error_recovery/file_input check. 2017-05-23 14:13:52 -04:00
Dave Halter
649d2bebbc Better documentation for the parso grammar. 2017-05-23 14:10:32 -04:00
Dave Halter
5fab429163 Fix a diff parser issue with a test as well. 2017-05-22 15:37:26 -04:00
Dave Halter
7d3438c94d Move the parse function to the grammar. 2017-05-22 14:06:40 -04:00
Dave Halter
3a0cd6d377 Make sha256 private to avoid confusion for the end user. 2017-05-21 17:35:47 -04:00
Dave Halter
4ca92861c6 Use pgen_grammar more consequent. 2017-05-21 17:35:06 -04:00
Dave Halter
c734df407b Use the name pgen_grammar instead of grammar to avoid confusion of the two. 2017-05-21 17:22:21 -04:00
Dave Halter
96252145a7 Bump version number. 2017-05-21 17:05:34 -04:00
Dave Halter
23d1470618 Add a more API focused grammar.
This makes it so we don't have to expose all the details of a pgen grammar to the user.
2017-05-21 17:02:15 -04:00
Dave Halter
973f7c5f61 Refactor the parse function to be more readable. 2017-05-21 13:50:05 -04:00
Dave Halter
a5b9177d4f The deploy script should create versions prefixed with v. 2017-05-20 18:01:38 -04:00
Dave Halter
082cb9919f Remove sith completely from the travis config. v0.0.1 2017-05-20 14:22:49 -04:00
Dave Halter
d6a781744d Fix a small mistake. 2017-05-20 14:10:21 -04:00
Dave Halter
0bd16939f1 Add utils tests for splitlines and source_to_unicode. 2017-05-20 09:54:37 -04:00
Dave Halter
3357613ac2 Make some methods private when creating grammars. 2017-05-19 16:39:14 -04:00
Dave Halter
88f8e172d5 Fixed a bug where providing a cache_path did not really affect anything. 2017-05-19 16:28:07 -04:00
Dave Halter
2d46d1e307 Add a parso test. 2017-05-19 16:17:10 -04:00
Dave Halter
ab012a87e6 Forgot to add a python 3 unicode compatibility. 2017-05-19 14:35:07 -04:00
Dave Halter
9b4bd34425 Use normal functions for some more tests. 2017-05-19 10:18:04 -04:00
Dave Halter
4bc5e27430 Make an internal function public, because it was used outside of the defining module. 2017-05-19 10:05:56 -04:00
Dave Halter
c1010008af Refactor code to allow only keyword-only arguments to the main function. 2017-05-18 17:16:42 -04:00
Dave Halter
02278305f7 More small changes. 2017-05-18 16:35:02 -04:00
Dave Halter
981e154488 Some minor restructurings. 2017-05-18 16:28:58 -04:00
Dave Halter
57c0441c74 Whitespace. 2017-05-17 19:19:06 -04:00
Dave Halter
6dd466a8d5 Update the pytest dependency to the latest install. 2017-05-17 19:17:30 -04:00
Dave Halter
2beec09d77 Currently modifying the cache for parso doctests is not needed. So just remove it. 2017-05-17 19:12:20 -04:00
Dave Halter
799e99360c Remove the dependency to unittest. 2017-05-17 14:29:55 -04:00
Dave Halter
2d8d3cc157 Whitespace. 2017-05-17 14:16:36 -04:00
Dave Halter
b8005a4908 Remove a unittest.TestCase usage and replace it with pytest tests. 2017-05-17 14:15:57 -04:00
Dave Halter
a1675dfe2e Change the last few tests to remove jedi completely and now tox -e py35 passes. 2017-05-15 15:19:41 -04:00
Dave Halter
0e99c4912f Remove the last occurance of jedi in the test folder. 2017-05-15 15:10:23 -04:00
Dave Halter
6838fefda5 Remove more tests that are part of jedi and not parso. 2017-05-15 15:03:53 -04:00
Dave Halter
e94ab8ca55 Remove some tests that should not be part of jedi. 2017-05-15 14:51:49 -04:00
Dave Halter
206dfd113b Use jedi less in the tests. 2017-05-15 13:53:30 -04:00
Dave Halter
f784e28eec Forgot to add the utils file. 2017-05-15 11:35:20 -04:00
Dave Halter
539ab41186 Try to modify conftest to use the right caching directory. 2017-05-15 11:34:48 -04:00
Dave Halter
be782a0141 Trying to make the cache path configurable as a parameter. 2017-05-15 11:12:28 -04:00
Dave Halter
fb05fb4c19 Get rid of most jedi usages. 2017-05-14 13:51:04 -04:00
Dave Halter
efac51c1b1 Use the _compatibility file in parso. 2017-05-11 16:30:38 -04:00
Dave Halter
a2cae8f5c5 Add a compatibility file. 2017-05-11 16:21:47 -04:00
Dave Halter
802629d6ca Some docstring changes. 2017-05-11 16:11:53 -04:00
Dave Halter
944ceae0af Add a version number. 2017-05-11 14:41:21 -04:00