1
0
forked from VimPlug/jedi
Commit Graph

186 Commits

Author SHA1 Message Date
Dave Halter
59c7623769 Move annotation pep0484 file (about anontations) to gradual folder 2018-12-24 17:48:21 +01:00
Dave Halter
1065768c77 Use ContextualizedNode instead of Node in get_calling_nodes
This improves working with these nodes by a lot.
2018-12-22 14:55:37 +01:00
Dave Halter
5bb88ca703 Make it possible to gather annotation classes for Union and Optional 2018-11-27 01:14:15 +01:00
Dave Halter
8e8271cf54 Refactor dict/set/list/tuple literal generic inferring 2018-09-27 00:01:35 +02:00
Dave Halter
4bb7a595e8 Fix some issues with signature matching 2018-09-25 23:05:23 +02:00
Dave Halter
994e7d1910 Fix an issue with type vars 2018-09-22 21:00:42 +02:00
Dave Halter
43ffcb0802 Also return the issues when retruning the executed params 2018-09-21 00:20:24 +02:00
Dave Halter
5fda4a2f8b Start putting the signature matching onto the ExecutedParam class 2018-09-20 21:14:07 +02:00
Dave Halter
1b11162132 Quite a few changes to prepare arrays 2018-09-18 00:17:51 +02:00
Dave Halter
5d9f29743c Get iter() working and a lot of other typeshed reverse engineering of type vars 2018-09-16 02:19:29 +02:00
Dave Halter
921ab6e391 Fix two bugs that were raising exceptions 2018-08-27 23:37:20 +02:00
Dave Halter
7c8051feab Fix default parameters name resolution 2018-08-27 23:10:23 +02:00
Dave Halter
1456a156a6 get_params -> get_executed_params where possible 2018-08-05 13:53:57 +02:00
Dave Halter
1ca4d21359 Use unicode literals, to avoid potential issues 2018-02-04 00:55:45 +01:00
Dave Halter
e71f0062dd Get a lot of tests passing 2017-11-26 17:48:00 +01:00
Dave Halter
0762c9218c Move arguments to a separate module. 2017-10-01 13:29:28 +02:00
Dave Halter
39b24ff2df Move lazy contexts to a separate module not in contexts 2017-09-30 18:02:02 +02:00
Dave Halter
16011a91af Move iterable to context/iterable. 2017-09-30 17:41:21 +02:00
Dave Halter
f733e07045 AbstractSequence -> AbstractIterable. 2017-09-30 17:23:15 +02:00
Dave Halter
3c75f27376 Move the base Context stuff to another module to keep context free for imports. 2017-09-30 16:46:07 +02:00
Dave Halter
95930d293c Move instance module to the context package. 2017-09-29 15:14:56 +02:00
Dave Halter
b74c8cb033 To be able to customize ContextSet, move a subclass to evaluate.context 2017-09-27 09:20:58 +02:00
Dave Halter
174eff5875 Replace a lot more of empty sets and unite calls. 2017-09-25 23:08:59 +02:00
Dave Halter
5328d1e700 Add a ContextSet.
This is not bug free yet, but it's going to be a good abstraction for a lot of small things.
2017-09-25 11:04:09 +02:00
Dave Halter
a433ee7a7e Move common to evaluate.utils. 2017-09-20 20:33:01 +02:00
Dave Halter
078b5802d2 Remove unused code. 2017-09-09 17:58:06 +02:00
Dave Halter
37ec79241c Remove the only param for AnonymousArguments. 2017-09-09 17:58:06 +02:00
Dave Halter
04c4313dc7 Start refactoring arguments. 2017-09-09 17:58:06 +02:00
Dave Halter
d2b4e0511f Ignore stdlib paths for dynamic param inference. 2017-09-07 00:09:14 +02:00
Dave Halter
ff001e07a6 In parso params is now get_params(). 2017-08-06 17:35:05 +02:00
Dave Halter
9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter
0f1570f682 position_nr -> position_index 2017-04-30 14:12:30 +02:00
Dave Halter
c124fc91ca Remove further clean_scope_docstring usages. 2017-04-26 09:52:18 +02:00
Dave Halter
bea28fd33f Give ExecutionParams a better way of knowing what called them. 2017-04-26 09:32:47 +02:00
Dave Halter
f136745a8a follow_param -> infer_param. 2017-04-20 18:09:00 +02:00
Dave Halter
d6d25db9a2 Remove __str__ from name. 2017-04-12 23:06:11 +02:00
Dave Halter
545cb26f78 stars -> star_count. 2017-04-08 15:26:57 +02:00
Dave Halter
448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter
7623b1e350 Removed tree.is_node.
It's not needed anymore, because we have Node/Leaf.type now.
2017-01-23 20:34:30 +01:00
Dave Halter
a4fdc716b0 Improve a doctest. 2016-12-15 01:07:44 +01:00
Dave Halter
3a84e04df7 Remove unused code. 2016-12-15 00:26:47 +01:00
Dave Halter
7084d9ab89 Fix param/argument static analysis. 2016-12-15 00:25:10 +01:00
Dave Halter
4074ca1e84 Fix some static analysis tests like attribute errors and normal arguments. 2016-12-14 01:04:57 +01:00
Dave Halter
eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +01:00
Dave Halter
bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter
8fd08c86b7 Fix some mostly iterable related stuff. 2016-11-24 21:06:55 +01:00
Dave Halter
d15016c5c1 Fix the whole test suite of descriptors. 2016-11-16 22:57:07 +01:00
Dave Halter
f672b367da Fix most of PEP 484. 2016-11-15 00:05:08 +01:00
Dave Halter
65d3e29146 dostring fixes. 2016-11-13 20:23:17 +01:00
Dave Halter
14a8377817 Fix all class issues. 2016-11-10 23:43:07 +01:00