Commit Graph

1810 Commits

Author SHA1 Message Date
David Halter
dbd04da26c set exit code in sith 2013-07-23 17:03:13 +02:00
David Halter
fd2e158cf6 fix usage problem on **kwargs params 2013-07-23 16:33:59 +02:00
David Halter
68635fc80c fix empty return statement docstrings 2013-07-23 15:36:53 +02:00
David Halter
9c53de5034 add empty return type test 2013-07-23 15:35:37 +02:00
David Halter
434de60350 fixed docstring params 2013-07-23 15:26:29 +02:00
David Halter
90202b2ad6 tests for failing docstrings 2013-07-23 15:11:14 +02:00
David Halter
000eb20cce delete old IndexError catches, didn't make sense 2013-07-23 14:39:43 +02:00
David Halter
d78b72b046 fixed getattr with array call 2013-07-23 14:30:18 +02:00
David Halter
db17c27bb8 removed old very strange string casts, that didn't really make sense and even though it mentioned a test, it wouldn't break after deleting it 2013-07-23 13:33:00 +02:00
David Halter
bb8e864f8e fix UnboundLocalError and TypeError within Array lookups, not a very good solution, but for now it doesn't puke errors 2013-07-23 02:33:07 +02:00
David Halter
52c8340d72 invalid goto syntax 2013-07-23 00:19:58 +02:00
David Halter
471f492f12 generators in *args and illegal *args like *1 2013-07-23 00:07:17 +02:00
David Halter
6a2afa7e94 failing test for illegal unpacking with * 2013-07-22 14:42:39 +02:00
David Halter
a6e621e39c add @lvh, @Astrac, @ganwell, @floppym to authors 2013-07-20 10:19:57 +02:00
David Halter
2cd7e66016 also add sith.py, refs #264 2013-07-20 10:09:17 +02:00
David Halter
6ab65999b0 Merge branch 'master' of https://github.com/floppym/jedi into dev 2013-07-20 10:06:44 +02:00
David Halter
b3c07b9a25 Merge remote-tracking branch 'origin/master' into dev 2013-07-20 10:03:49 +02:00
Mike Gilbert
7312999c8f Add a few more test support files 2013-07-19 18:12:44 -04:00
David Halter
6017daded5 removed statement docstr stuff for now. it will be reintroduced when using the evaluator class 2013-07-19 13:17:27 +02:00
David Halter
ebc8d4c04c docstring test with statement docstrings (failed until now, worked only for specific cases) 2013-07-19 12:47:38 +02:00
David Halter
ed99e380d7 catch ValueError when the cache json.load method fails, fixes #245 2013-07-19 10:55:07 +02:00
David Halter
4e34fb9494 fixed illegal params problem 2013-07-19 10:32:58 +02:00
David Halter
0dfe2f44a5 test for dots in params (happens sometimes by accident when generating builtins) 2013-07-19 02:40:17 +02:00
David Halter
6525f9169c reformat feature documentation 2013-07-19 01:29:58 +02:00
David Halter
9b73f3ca3c exceptions are now accepted in the form of 'except Exception, e' 2013-07-19 01:29:16 +02:00
David Halter
f754d1565f fixed error with 'comma' separated exceptions 2013-07-19 01:27:40 +02:00
David Halter
b84315b829 tests for import problems 2013-07-19 00:56:56 +02:00
David Halter
a7cfb89c2a fix a sith problem with empty files 2013-07-19 00:15:09 +02:00
David Halter
29f89cc75a finally fixed a unicode problem that existed for a longer time 2013-07-18 16:55:19 +02:00
David Halter
7684135b99 finally found a test for unicode problems 2013-07-18 16:45:27 +02:00
David Halter
3777afb2cb add record file in sith.py to other commands 2013-07-18 14:57:22 +02:00
David Halter
dd6967de7c fixed a unicode test problem 2013-07-18 14:54:40 +02:00
David Halter
681b9d6371 small sith improvements 2013-07-18 12:35:18 +02:00
David Halter
9348feb8bf operations (+, *, etc) shouldn't be InstanceElements, fixes #246 2013-07-18 12:31:48 +02:00
David Halter
075c60de29 fix a problem related to #246: comments were used as normal strings 2013-07-18 12:18:07 +02:00
David Halter
b6e9f16a01 fix a completion problem on docstrings 2013-07-17 16:48:50 +02:00
David Halter
8490b1d0ff forgot to cast to int with the sith run command 2013-07-17 16:38:35 +02:00
David Halter
45c8cc739b fixed the dict problem, but dictionary completions are still very bad 2013-07-17 16:14:06 +02:00
David Halter
0dbfc409a7 iteration problem test 2013-07-17 15:56:21 +02:00
David Halter
8db85dbe15 add docopt to tox 2013-07-17 15:21:56 +02:00
David Halter
c0d51e300b fixed problem with empty statements in function calls 2013-07-17 15:05:06 +02:00
David Halter
2ad3121aa3 test for empty statement problem in function call 2013-07-17 15:02:56 +02:00
David Halter
9ee0d34bc7 corrected docopt typo 2013-07-17 14:13:52 +02:00
David Halter
fcf4b04145 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-07-17 14:01:13 +02:00
David Halter
8d8b645f11 completely rewrote sith.py with docopt - also added a run command and debug option 2013-07-17 14:00:28 +02:00
Mike Gilbert
ebd4e228d3 Include everying in the test directory in source tarballs.
Resolves #256.
2013-07-15 23:55:33 -04:00
David Halter
57196b0278 Merge pull request #260 from lvh/cleanup
Many minor PEP8 and related cleanups
2013-07-12 02:01:39 -07:00
Laurens Van Houtven
627266b38d Move isinstance checks back to unary type checks 2013-07-11 20:36:00 +02:00
Laurens Van Houtven
73662fe893 More PEP8 indentation fixes 2013-07-11 15:26:07 +02:00
Laurens Van Houtven
8c314c2732 while 1 -> while True 2013-07-11 15:25:05 +02:00