1
0
forked from VimPlug/jedi
Commit Graph

69 Commits

Author SHA1 Message Date
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 e85000b798 Replace memoize_default with two nicer functions. 2017-09-05 18:46:16 +02:00
Dave Halter ff001e07a6 In parso params is now get_params(). 2017-08-06 17:35:05 +02:00
Dave Halter 2fcd2f8f89 Fix some more stuff because of newer parso changes. 2017-07-14 18:21:52 +02:00
Dave Halter cd8932fbfc Add a latest grammar to the evaluator and use it to avoid importing from parso import parse. 2017-05-24 00:37:36 -04:00
Dave Halter 9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter 819e9f607e Move get_following_comment_same_line out of the parser tree. 2017-04-27 08:56:11 +02:00
Dave Halter e8b32e358b Remove 'move' from the parser tree. 2017-04-26 18:45:18 +02:00
Dave Halter c124fc91ca Remove further clean_scope_docstring usages. 2017-04-26 09:52:18 +02:00
Dave Halter f136745a8a follow_param -> infer_param. 2017-04-20 18:09:00 +02:00
Dave Halter ea1905f121 Refactor the docstring input. 2017-04-20 18:06:40 +02:00
Dave Halter fbde21166b find_return_types -> infer_return_types. 2017-04-20 09:56:16 +02:00
Dave Halter ff82763e6b get_annotation -> annotation (property). 2017-04-08 15:29:29 +02:00
Dave Halter 545cb26f78 stars -> star_count. 2017-04-08 15:26:57 +02:00
Dave Halter 8a35a04439 Remove the module path from the parser tree.
Some static analysis tests are still failing.
2017-03-27 18:13:32 +02:00
Dave Halter 448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter 93f14157a6 Cleanup the ParseError stuff. 2017-03-15 18:41:58 +01:00
Dave Halter 717bfeb574 Remove an occurance of the complicated parser creation. 2017-03-14 19:27:03 +01:00
Dave Halter 97fc3bc23c Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something. 2017-03-14 00:38:58 +01:00
Dave Halter 445bf6c419 Get rid of get_parent_until. 2017-02-03 09:59: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 ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter 5d071ede8c Fix the typing module issues in Python 3.6. 2017-01-02 15:01:12 +01:00
Dave Halter f6070496ad Fixes to the isinstance tests. 2016-11-28 09:34:59 +01:00
Dave Halter 558e8add49 Fix complex instance name resolving. 2016-11-27 11:51:12 +01:00
Dave Halter f672b367da Fix most of PEP 484. 2016-11-15 00:05:08 +01:00
Dave Halter 31514dfe76 Fix a lot on PEP 484. 2016-11-14 23:29:09 +01:00
Dave Halter 75b67af000 Starting to improve function calls. 2016-10-22 21:02:15 +02:00
Dave Halter 885cf62a12 Remove the position_modifier from the parser. 2016-09-18 00:50:31 +02:00
Dave Halter 82c76fa689 Merge with the linter branch (especially the changes of pep484. 2016-06-07 13:51:25 +02:00
Dave Halter daa68b66ad Fix a few issues caused by the refactoring. 2016-05-29 19:49:35 +02:00
Claude 795a72a866 add typing.cast() to the todo list 2016-02-15 18:13:47 +01:00
Claude 71ab855802 update list of things that are completed 2016-02-15 17:56:14 +01:00
Claude 641fb80773 add support for 'with-assignment' hints 2016-02-15 17:52:21 +01:00
Claude 3a1b2e7104 add support for 'for-assignment' hints 2016-02-15 17:37:03 +01:00
Claude 8b28678d19 support tuple-assignment 2016-02-15 17:04:19 +01:00
Claude a658f7940c typehints for variables in comments 2016-02-15 16:03:23 +01:00
Claude daeee4ba0c simple typehints in comments 2016-02-15 15:12:07 +01:00
Claude 244c9976e5 cache the parsed jedi_typing module 2016-01-23 23:06:28 +01:00
Claude e267f63657 python 2.7 compatibility, typing module tested with docstring, so that it can also be tested in python 2.7 2016-01-23 22:53:48 +01:00
Claude c9bf521efd remove renaming of class based on parameters 2016-01-23 22:10:52 +01:00
Claude b499906398 Reverted 10f5e1 --- needed some more work to get it working again 2016-01-17 16:12:43 +01:00
Claude a5fc149f9d use jedi.common.unite in flatten array of sets 2016-01-17 10:57:38 +01:00
Claude 59161c0b5d fix FakeSequence type 2016-01-17 10:51:06 +01:00
Claude 3852431549 typing.Union and typing.Optional 2016-01-17 10:41:41 +01:00
Claude 7b97312509 tuples and mappings in typing 2016-01-17 10:41:40 +01:00
Claude 10f5e15325 I feel this is a nicer solution. Forward Reference busting should be part of the annotation resolving. It doesn not have anything to do with the typing module (and should indeed also happen if someone writes his own types outside of the typing module) 2016-01-17 10:41:40 +01:00