1
0
forked from VimPlug/jedi
Commit Graph

46 Commits

Author SHA1 Message Date
Dave Halter
d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Hugo
3e8cd9f128 Use set literals 2018-01-07 10:40:36 +02:00
Hugo
cc623218e5 Replace function call with set literal 2018-01-07 10:40:06 +02:00
Dave Halter
68381e09c9 Move the last test out of test_regressions and delete the file
This also deletes a test that probably has become useful because the issue it tested was caused by code that doesn't exist anymore
2017-12-29 20:38:30 +01:00
Dave Halter
01ffd2f981 Move most of the regression tests into other test files 2017-12-29 20:26:53 +01:00
Dave Halter
38cacba385 Differentiate between different Python versions in a specific test 2017-12-29 16:09:48 +01:00
Dave Halter
5efd67758e Start replacing Script calls with a fixture
This is important to migrate all tests to specific fixtures.
2017-12-29 15:51:16 +01:00
Dave Halter
4a544c29ea Fix a follow_imports (goto) issue. 2017-09-11 23:32:10 +02:00
Dave Halter
619acbd2ca Goto didn't work well on imports in __init__.py files.
Fixes #956.
2017-09-11 21:48:37 +02:00
Dave Halter
381fedddb4 Fix get_line_code().
Fixes #948.
2017-09-09 18:28:05 +02:00
Dave Halter
ef6a1ca10f Fix an issue with choosing the right lines in get_line_code. Refs #948. 2017-09-09 18:10:53 +02:00
Dave Halter
b9271cf5a5 Use the parser_cache correctly. 2017-05-26 13:43:18 -04:00
Dave Halter
76529ca34d The parser_cache contents have changed. Therefore adapt. 2017-05-26 12:52:52 -04:00
Dave Halter
9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter
35fd1c70bd Rename parser.utils to parser.cache. 2017-03-30 01:57:48 +02:00
Dave Halter
8059c3c2c8 Save a module instead of a parser when pickling. 2017-03-30 00:55:04 +02:00
Dave Halter
9341df11bf Fix the issues that were changed by removing start_pos from the api classes. 2017-01-04 22:24:25 +01:00
Dave Halter
01099ce5a9 Create a name for the generators. 2017-01-04 18:12:33 +01:00
Dave Halter
cd23499fbe Fix param issues in goto definition. 2017-01-04 08:58:29 +01:00
Dave Halter
4e62e98539 Fix an issue with displaying attribute errors. 2016-12-18 21:37:15 +01:00
Dave Halter
6940900c58 A lot more fixes - fix all evaluate integration tests. 2016-12-03 22:17:38 +01:00
Dave Halter
ebd080a0fd Implement goto_assignments(follow_imports=True). Fixes #382. 2016-08-03 18:05:08 +02:00
Dave Halter
5f064a2a0a Add a way to get the line in a BaseDefinition. Fixes #518. 2016-07-31 20:37:48 +02:00
Dave Halter
7f2f66f011 Trying to refactor the completion stack finding. 2016-07-24 17:06:54 +02:00
Dave Halter
b5bd8496b0 Fix the errors for the old octal tests. 2016-07-18 19:28:01 +02:00
Dave Halter
52c42c3392 Reenable call signature caching and move a lot of parser specific caching to the parser itself. 2016-06-28 08:46:29 +02:00
Dave Halter
1355ea01b3 Simplify completions further to eventually get rid of user_context. 2016-06-22 09:15:32 +02:00
Dave Halter
b036c88b73 True in Python 2 is still not a keyword, but a name. 2015-03-06 00:42:57 +01:00
Dave Halter
53490991d7 Goto_definitions bug fix -> imports stuff. 2015-02-27 11:56:36 +01:00
Dave Halter
1bc9ac1c00 Goto bug fix. 2015-02-27 11:37:49 +01:00
Dave Halter
6ad9c5ee76 Small fixes to the parser tests. 2014-12-08 00:58:28 +01:00
Dave Halter
0c77e9960a NotFoundError doesn't really exist anymore. We're deprecating it, so change the corresponding tests. 2014-12-08 00:48:06 +01:00
Dave Halter
43cf1d451f Python 2/3 compatibility issues that were not resolved in the latest commit. 2014-09-09 17:51:39 +02:00
Dave Halter
ca536baf9b Last fixes, because of the Name.get_definition change. The recent parser.representation changes are now fully working and we're ready to improve Evaluator.goto again. 2014-09-06 13:23:00 +02:00
Dave Halter
81cc50e8b5 well yeah give NamePart a get_code method after all, makes sense, because all the other parser representation objects have it. 2014-04-20 14:32:48 +02:00
Dave Halter
99b1ad18b4 test for davidhalter/jedi-vim#268, Definition objects should be unique per position. This was fixed a few commits ago by the whole usage fixes. 2014-04-18 15:10:57 +02:00
Dave Halter
ddc1cb0e6a same problem with KeywordStatement 2014-04-16 10:28:12 +02:00
Dave Halter
15fdecdb61 for flows triggered an exception if goto_assignments was used on the keyword. found with the help of sith.py 2014-04-16 09:57:01 +02:00
Dave Halter
ea62ad6a50 backwards tokenizer can now handle 10e-5 and so on literals 2014-04-07 15:51:24 +02:00
Dave Halter
1704185ed1 fix Completion.parent() issues with builtins 2014-04-07 15:21:17 +02:00
Dave Halter
120099ac5e removed the complex number tests somewhere along the line -> reintroduced. 2014-04-07 14:46:26 +02:00
Dave Halter
484ace2cfd fix last problems with #327 2014-04-07 14:43:46 +02:00
Dave Halter
b48d0bf622 passing hex/oct/bin tests for #327 2014-04-07 14:12:12 +02:00
Dave Halter
d15203162a more tests for #327, for complex numbersand the power notation. 2014-04-07 13:50:07 +02:00
Dave Halter
99beac1c2b fix completion on int literals, fixes #327 2014-04-07 13:04:45 +02:00
Dave Halter
8660555d7b moved api, parser and evaluate test directories to test_api, test_parser... 2014-01-29 21:16:18 +01:00