1
0
forked from VimPlug/jedi
Commit Graph

81 Commits

Author SHA1 Message Date
Dave Halter 95f3aed82c Eliminate more actual appearances 2019-06-10 16:16:34 +02:00
Dave Halter 8ba3e5d463 Change some names from actual -> python 2019-06-10 16:02:05 +02:00
Dave Halter c8937ccdbf Add only_stubs and prefer_stubs as parameters to goto_assignments/goto_definitions 2019-06-10 15:59:12 +02:00
Dave Halter a555def6ca Use a different function signature instead of a separate goto_stubs function 2019-06-10 02:27:22 +02:00
Dave Halter eef02e5c56 Fix generator issues for typing 2019-06-08 01:50:38 +02:00
Dave Halter da4e6f275e Fix stub lookups for MixedObject 2019-06-05 19:46:40 +02:00
Dave Halter bade4e661f Some changes to get stubs working better for mixed objects 2019-06-03 20:28:04 +02:00
Dave Halter b9e8bff5e2 Start using FileIO in modules 2019-05-31 22:10:49 +02:00
Dave Halter 9c40c75136 Add file_io for Jedi for listdir 2019-05-31 21:25:48 +02:00
Dave Halter 946869ab23 Fix tests 2019-05-28 01:59:32 +02:00
Dave Halter ec7b6b8d80 Fix stub function inferrals 2019-05-28 01:51:37 +02:00
Dave Halter 6f41530a03 Very small refactoring 2019-05-27 23:57:23 +02:00
Dave Halter 1002acf907 Rename AnnotatedClass to GenericClass 2019-05-27 21:21:42 +02:00
Dave Halter d2355ea53b Remove dead code 2019-05-27 21:12:08 +02:00
Dave Halter bee9bd7621 given_types -> generics 2019-05-27 21:08:19 +02:00
Dave Halter 5a6d8ba010 Implement typing.cast 2019-05-27 20:59:04 +02:00
Dave Halter 9bb88b43ca Fix stub_to_actual_context_set for bound methods 2019-05-22 10:35:04 +02:00
Dave Halter ea490b9a2b Remove remap_type_vars, which was never used 2019-05-19 16:15:52 +02:00
Dave Halter 05a3d7a3bc Remove _create_class_filter, it was unused 2019-05-19 14:06:21 +02:00
Dave Halter dc2f4e06c8 Fix a few casts for Python 2/3 interopability 2019-05-18 20:51:42 +02:00
Dave Halter 4176af337f A few Python 2 fixes 2019-05-18 01:09:09 +02:00
Dave Halter 0fb5fd271a Better scanning for module names, now includes namespace packages and stubs 2019-05-18 00:11:08 +02:00
Dave Halter c640aa9213 goto_assignments should work even if something is only defined in a stub 2019-05-17 14:58:55 +02:00
Dave Halter b5d1e00930 Deal better with instance conversions for stubs 2019-05-17 12:27:53 +02:00
Dave Halter f53c977069 Fix an issue with stub conversion 2019-05-16 00:52:14 +02:00
Dave Halter 051db30dfb Proper loading for third-party stub packages 2019-05-16 00:45:09 +02:00
Dave Halter e4170d65b7 Make namespace folders work with stubs 2019-05-15 21:55:54 +02:00
Dave Halter b7eeb60e9c Move stub caching around 2019-05-15 21:10:35 +02:00
Dave Halter 7fc7e631f8 Move a part of stub lookups 2019-05-15 21:06:36 +02:00
Dave Halter 0e95aaeaad A first try to load foo-stub directories 2019-05-15 08:19:46 +02:00
Dave Halter dcbc60e1f0 Add a docstring to mention PEP 561 2019-05-14 21:12:34 +02:00
Dave Halter 03f29c51cf Improve stub loading from random places 2019-05-14 21:09:20 +02:00
Dave Halter 5ff3e4d1d1 Implement stub tests and a first iteration of loading them from some random place 2019-05-13 10:13:59 +02:00
Dave Halter 409bf907d9 Fix os path imports 2019-05-10 10:08:14 +02:00
Dave Halter de7b638e6c Remove StubClass, it should really not be needed anymore 2019-05-10 01:29:06 +02:00
Dave Halter a6a71c59f4 Move some contents of gradual.stub_contexts to gradual.conversion 2019-05-10 01:24:58 +02:00
Dave Halter e57ff54caa Some minor moving 2019-05-10 01:19:59 +02:00
Dave Halter 1430ac2675 Remove more unused code that was used for goto a long time ago 2019-05-10 01:12:03 +02:00
Dave Halter eb07c0b4cf Remove a bit of code that was used to write goto code and is not used anymore 2019-05-10 01:07:53 +02:00
Dave Halter be6760e427 Introduce get_qualified_names for names, it's easier to implement goto like this 2019-05-10 01:07:21 +02:00
Dave Halter 895eae1d54 Move all Name classes to a separate file 2019-05-07 00:30:16 +02:00
Dave Halter 67d7f8d867 Remove the load_stubs function, it's not needed anymore 2019-05-06 19:50:03 +02:00
Dave Halter ee86b58ab9 Remove a usage of load_stubs, because we are already using stubs 2019-05-06 19:48:15 +02:00
Dave Halter c675e85d69 Use sub_module_dict for completing modules, not its own function 2019-05-06 09:19:33 +02:00
Dave Halter afced5014c Cleanup stub imports / caching 2019-05-05 22:52:48 +02:00
Dave Halter cabdb7f032 sub_modules_dict improvement 2019-05-05 21:49:55 +02:00
Dave Halter 8fcf885de3 Small refactoring 2019-05-05 21:35:06 +02:00
Dave Halter 1302d8abef Remove _add_non_stubs_in_filter 2019-05-05 21:00:07 +02:00
Dave Halter c6586ed811 Remove _get_base_filters 2019-05-05 20:58:34 +02:00
Dave Halter b7c866f5e4 stub_only -> stub 2019-05-05 20:47:48 +02:00