Commit Graph

  • 6cf6903d32 It should be possible to pass posargs to pytest for tox Dave Halter 2019-05-19 17:01:25 +02:00
  • ea490b9a2b Remove remap_type_vars, which was never used Dave Halter 2019-05-19 16:15:52 +02:00
  • 7ec76bc0b5 Remove get_matching_functions, it was unused code Dave Halter 2019-05-19 16:06:22 +02:00
  • 4b2518ca9a Remove special objects, they are no longer needed Dave Halter 2019-05-19 14:28:39 +02:00
  • 1b668966ce Better completions for MethodType Dave Halter 2019-05-19 14:27:09 +02:00
  • c4f0c7940f Remove MODULE_CLASS in favor of a typeshed solution Dave Halter 2019-05-19 14:22:03 +02:00
  • f9eedfbf64 Remove FUNCTION_CLASS, in favor of a typeshed solution Dave Halter 2019-05-19 14:19:30 +02:00
  • 05a3d7a3bc Remove _create_class_filter, it was unused Dave Halter 2019-05-19 14:05:23 +02:00
  • cbd16e6d6b Bump latest grammar from 3.6 to 3.7 Dave Halter 2019-05-19 14:03:29 +02:00
  • 7d41fb970e Fixed a typo Dave Halter 2019-05-19 14:02:29 +02:00
  • 3251d8ffe6 Bump Jedi version to 0.13.0 Dave Halter 2019-05-19 14:02:15 +02:00
  • 6eb92f55df Apparently we need to whitelist pytest for tox to avoid a warning Dave Halter 2019-05-19 13:59:49 +02:00
  • c654301f22 Add thirdpart/typeshed to MANIFEST.in Dave Halter 2019-05-19 13:58:52 +02:00
  • 55feb95d41 Fix an issue with the latest typeshed upgrade in tests Dave Halter 2019-05-19 13:27:38 +02:00
  • 9e29e35e16 Upgrade typeshed Dave Halter 2019-05-19 13:27:25 +02:00
  • 8db3bb3dc1 Upgrade typeshed to latest master and fix reversed execution Dave Halter 2019-05-18 23:33:40 +02:00
  • 7f5225cb70 Fix a setup.py assertion Dave Halter 2019-05-18 22:34:19 +02:00
  • dc2f4e06c8 Fix a few casts for Python 2/3 interopability Dave Halter 2019-05-18 20:51:42 +02:00
  • 61ccbb0d3e Make sure to use a python 3 parser for stub files Dave Halter 2019-05-18 18:25:32 +02:00
  • 4176af337f A few Python 2 fixes Dave Halter 2019-05-18 01:09:09 +02:00
  • cc68942ec1 Make sure that the deployment process checks out git submodules (e.g. typeshed) Dave Halter 2019-05-18 00:20:56 +02:00
  • 52ae6e7f0b Remove a print statement Dave Halter 2019-05-18 00:17:57 +02:00
  • ba59ab40ab Make sure in setup.py that the typeshed submodule is loaded Dave Halter 2019-05-18 00:14:53 +02:00
  • 0fb5fd271a Better scanning for module names, now includes namespace packages and stubs Dave Halter 2019-05-18 00:11:08 +02:00
  • 8e3f85c475 Revert "One more small test change" Dave Halter 2019-05-17 23:49:26 +02:00
  • b1bd630a37 Make it possible to use error for debugging Dave Halter 2019-05-17 23:39:26 +02:00
  • 4b829c358b Fix an import names completion issue Dave Halter 2019-05-17 23:34:17 +02:00
  • 02ab71ff26 Tests for stub import completions Dave Halter 2019-05-17 16:53:34 +02:00
  • ac962ea6db Refactor stub completions a bit Dave Halter 2019-05-17 16:21:13 +02:00
  • 7de5fee3ad Minor change, because of typeshed changes Dave Halter 2019-05-17 16:09:23 +02:00
  • e70c49fea2 Use completions from both stubs and actual modules Dave Halter 2019-05-17 16:04:16 +02:00
  • c640aa9213 goto_assignments should work even if something is only defined in a stub Dave Halter 2019-05-17 14:58:55 +02:00
  • 9d5f57d798 Make sure inferring works even if a stub doesn't have all variables defined Dave Halter 2019-05-17 14:45:22 +02:00
  • 063eef3eaf Call goto_definitions for goto_assigments if we're on a name Dave Halter 2019-05-17 12:37:02 +02:00
  • b5d1e00930 Deal better with instance conversions for stubs Dave Halter 2019-05-17 12:27:53 +02:00
  • f53c977069 Fix an issue with stub conversion Dave Halter 2019-05-16 00:52:14 +02:00
  • 051db30dfb Proper loading for third-party stub packages Dave Halter 2019-05-16 00:45:09 +02:00
  • 4f64dd30f9 Make sure Python is still loadable in stub only folders Dave Halter 2019-05-15 22:23:23 +02:00
  • 904c4d04bb Make sure Python is still loadable in mixed stub/python folders Dave Halter 2019-05-15 22:20:57 +02:00
  • f49d48fbd2 Add a few more tests for nested stub folders Dave Halter 2019-05-15 22:18:22 +02:00
  • e4170d65b7 Make namespace folders work with stubs Dave Halter 2019-05-15 21:55:54 +02:00
  • b7eeb60e9c Move stub caching around Dave Halter 2019-05-15 21:10:07 +02:00
  • 7fc7e631f8 Move a part of stub lookups Dave Halter 2019-05-15 21:06:36 +02:00
  • 0e95aaeaad A first try to load foo-stub directories Dave Halter 2019-05-15 08:19:46 +02:00
  • dcbc60e1f0 Add a docstring to mention PEP 561 Dave Halter 2019-05-14 21:12:34 +02:00
  • 03f29c51cf Improve stub loading from random places Dave Halter 2019-05-14 21:09:20 +02:00
  • 5ff3e4d1d1 Implement stub tests and a first iteration of loading them from some random place Dave Halter 2019-05-13 10:13:59 +02:00
  • 8b1d4a7824 Fix call signatures, use stubs if possible Dave Halter 2019-05-11 12:44:20 +02:00
  • 079783e3a1 Move trying to resolve stubs to a different place Dave Halter 2019-05-10 22:33:49 +02:00
  • 409bf907d9 Fix os path imports Dave Halter 2019-05-10 10:08:14 +02:00
  • 4a2ada56e5 Remove two asserts that were pointless Dave Halter 2019-05-10 01:31:12 +02:00
  • de7b638e6c Remove StubClass, it should really not be needed anymore Dave Halter 2019-05-10 01:29:06 +02:00
  • a6a71c59f4 Move some contents of gradual.stub_contexts to gradual.conversion Dave Halter 2019-05-10 01:24:58 +02:00
  • e57ff54caa Some minor moving Dave Halter 2019-05-10 01:19:59 +02:00
  • 1430ac2675 Remove more unused code that was used for goto a long time ago Dave Halter 2019-05-10 01:11:09 +02:00
  • eb07c0b4cf Remove a bit of code that was used to write goto code and is not used anymore Dave Halter 2019-05-10 01:07:53 +02:00
  • be6760e427 Introduce get_qualified_names for names, it's easier to implement goto like this Dave Halter 2019-05-10 01:07:21 +02:00
  • f8f858216f Make goto_assignments in BaseDefinition simpler Dave Halter 2019-05-08 22:00:13 +02:00
  • 037a069ddd Made TreeArguments methods a bit more understandable Dave Halter 2019-05-08 09:30:39 +02:00
  • dc15470e0b ImportName should resolve properly to the module that it was designed to resolve for Dave Halter 2019-05-07 09:43:55 +02:00
  • 895eae1d54 Move all Name classes to a separate file Dave Halter 2019-05-07 00:30:16 +02:00
  • ad48ec4cfd With typeshed OsPathName is no longer needed Dave Halter 2019-05-07 00:09:19 +02:00
  • a6693616a0 One more small test change Dave Halter 2019-05-06 23:59:39 +02:00
  • ea6462daf4 Forgot to add evaluate/names.py earlier Dave Halter 2019-05-06 19:50:26 +02:00
  • 67d7f8d867 Remove the load_stubs function, it's not needed anymore Dave Halter 2019-05-06 19:49:53 +02:00
  • ee86b58ab9 Remove a usage of load_stubs, because we are already using stubs Dave Halter 2019-05-06 19:48:15 +02:00
  • 5099ef15b4 Move ImportName and add os path name to the submodule dict Dave Halter 2019-05-06 09:33:48 +02:00
  • c675e85d69 Use sub_module_dict for completing modules, not its own function Dave Halter 2019-05-06 09:19:33 +02:00
  • afced5014c Cleanup stub imports / caching Dave Halter 2019-05-05 22:52:48 +02:00
  • cabdb7f032 sub_modules_dict improvement Dave Halter 2019-05-05 21:49:55 +02:00
  • 8fcf885de3 Small refactoring Dave Halter 2019-05-05 21:35:06 +02:00
  • 2d6c037f39 Some forgotten renames in tests Dave Halter 2019-05-05 21:05:38 +02:00
  • d9919efb4c is_compiled fix Dave Halter 2019-05-05 21:03:37 +02:00
  • 1302d8abef Remove _add_non_stubs_in_filter Dave Halter 2019-05-05 21:00:07 +02:00
  • c6586ed811 Remove _get_base_filters Dave Halter 2019-05-05 20:58:34 +02:00
  • eb0977b700 helpers.is_compiled -> context.is_compiled Dave Halter 2019-05-05 20:55:18 +02:00
  • b7c866f5e4 stub_only -> stub Dave Halter 2019-05-05 20:47:23 +02:00
  • 7c385f72a1 StubOnly -> Stub, for all different classes Dave Halter 2019-05-05 20:46:45 +02:00
  • 9af8638589 Small test fix Dave Halter 2019-05-05 20:30:11 +02:00
  • 16ec84efe4 Some test compiled fixes Dave Halter 2019-05-05 20:12:36 +02:00
  • c0c1aff577 Remove get_call_signature_for_any Dave Halter 2019-05-05 19:51:54 +02:00
  • 45a5eee18a Better control over docstring generation Dave Halter 2019-05-05 19:50:52 +02:00
  • d0b0fb3cb3 Docstrings for classes should use the class name and not __init__ Dave Halter 2019-05-05 19:35:44 +02:00
  • f71d6883d9 Fixed signatures for keywords Dave Halter 2019-05-05 19:25:00 +02:00
  • 43849d2b8e Remove stub compiled classes Dave Halter 2019-05-05 19:20:12 +02:00
  • 2d8d4d5c99 Small test fixes for parser utils Dave Halter 2019-05-05 19:17:38 +02:00
  • 2cb1bd162f Better signature support for docstrings Dave Halter 2019-05-05 19:09:21 +02:00
  • f996df087e Better docstring help Dave Halter 2019-05-05 17:21:23 +02:00
  • c647bfa490 Fix a test Dave Halter 2019-05-05 17:09:15 +02:00
  • a925301caf Remove the rest of the stub contexts Dave Halter 2019-05-05 16:12:55 +02:00
  • 202b1784a1 Remove with_stub_context_if_possible Dave Halter 2019-05-05 16:04:24 +02:00
  • 87fd56859d Remove stubify Dave Halter 2019-05-05 16:02:18 +02:00
  • 73aca23615 Remove get_stub_contexts Dave Halter 2019-05-05 16:00:45 +02:00
  • 44b9b8787a Some Bugfixes Dave Halter 2019-05-05 15:59:37 +02:00
  • 171874d288 Fix all gradual tests Dave Halter 2019-05-05 15:33:56 +02:00
  • 329270e444 Add is_compiled and a few other things to be more compatible with the new way of handling stubs Dave Halter 2019-05-05 13:23:29 +02:00
  • 4d3a698a12 Refactor things so goto is working in both directions Dave Halter 2019-05-05 01:16:40 +02:00
  • df9c9d8dff Fix a flask issue Dave Halter 2019-05-01 10:47:20 +02:00
  • 0e42df2da7 Refactor Jedi so we use stub modules as much as possible Dave Halter 2019-05-01 00:52:02 +02:00
  • 3afcfccba8 Get the tests passing again Dave Halter 2019-04-14 19:02:43 +02:00