1
0
forked from VimPlug/jedi

Commit Graph

  • 40d3abe2b2 Remove a print in tests Dave Halter 2018-08-03 00:16:27 +02:00
  • f25310e0b9 BoundMethods now have access to the function that they are using Dave Halter 2018-08-03 00:15:11 +02:00
  • e576457a43 Remove another usage of is_class where it's not needed Dave Halter 2018-08-02 17:33:53 +02:00
  • a1314ac3c1 FunctionContext should be created from a unified interface Dave Halter 2018-08-02 17:15:44 +02:00
  • 481e6bcff0 Don't create a FunctionExecutionContext if it's not used. Dave Halter 2018-08-02 13:25:29 +02:00
  • 9ff5050d01 Use TreeContext in a good way Dave Halter 2018-08-02 11:32:13 +02:00
  • 9a4a96b453 Fix broken link in documentation Justin Moen 2018-08-02 02:32:53 -05:00
  • 5143c71589 Change the typeshed test for methods a bit (not yet working, though) Dave Halter 2018-08-02 01:11:12 +02:00
  • 31bf8e48bb Fix some stub tests Dave Halter 2018-08-02 00:59:12 +02:00
  • 61de28f741 Get a first typeshed example fully working as intended Dave Halter 2018-08-02 00:15:54 +02:00
  • c8caa8f4ac Use a class stub class Dave Halter 2018-08-01 10:47:46 +02:00
  • c196075cb8 Actually use the stub function Dave Halter 2018-08-01 01:42:09 +02:00
  • dfbd1f8772 Mix stub name with non-stub names in a better way Dave Halter 2018-07-31 23:25:13 +02:00
  • b5670fdc5f Some progress in working with typeshed Dave Halter 2018-07-31 11:33:38 +02:00
  • cdb96bff47 Avoid recursion issues for the typing module Dave Halter 2018-07-29 00:10:54 +02:00
  • 35361f4edc Add debug warnings when a user runs into a recursion error Dave Halter 2018-07-29 00:03:43 +02:00
  • 9bba91628a Annotations can contain forward references even if they are not a string anymore Dave Halter 2018-07-28 16:35:24 +02:00
  • b073b05aa0 Fix a bug in the typeshed implementation Dave Halter 2018-07-28 14:50:02 +02:00
  • e6f28b06b5 A bit better typeshed support Dave Halter 2018-07-28 14:39:55 +02:00
  • 4e75a35468 Fix stub searching for nested modules Dave Halter 2018-07-27 10:14:37 +02:00
  • e827559340 Get some first stubs working Dave Halter 2018-07-25 23:48:53 +02:00
  • 6bcac44050 Add another stub file test Dave Halter 2018-07-25 11:44:48 +02:00
  • ee43fd7579 Start testing the typeshed directory search Dave Halter 2018-07-25 11:37:03 +02:00
  • b809768934 Start implementing some typeshed details Dave Halter 2018-07-25 11:00:51 +02:00
  • 1739ae44f0 Refactor some of the import logic so it's possible to load typeshed modules Dave Halter 2018-07-24 01:19:09 +02:00
  • f72f3f3797 Better flake8 configuration Dave Halter 2018-07-24 00:50:31 +02:00
  • 18f26a0c04 Change a module is None check to raise an Exception Dave Halter 2018-07-23 23:57:27 +02:00
  • 873558a392 Move the os.path hack Dave Halter 2018-07-23 23:04:14 +02:00
  • c88afb71c9 Import names are now always strings Dave Halter 2018-07-23 22:40:24 +02:00
  • 27ab4ba339 Add the flask plugin and move the import hacks there Dave Halter 2018-07-23 04:04:07 +02:00
  • 8a9202135b Move import logic around a bit Dave Halter 2018-07-23 03:54:10 +02:00
  • 7711167052 Start enabling the Typeshed plugin, even though it doesn't do anything, yet. Dave Halter 2018-07-23 02:40:18 +02:00
  • e7635b40d5 Remove some unused code Dave Halter 2018-07-22 18:02:53 +02:00
  • f5cbb5de49 Some refactoring in the stdlib plugin Dave Halter 2018-07-22 03:49:36 +02:00
  • 2cd1ae73ed Move stdlib content to the stdlib plugin Dave Halter 2018-07-22 03:45:02 +02:00
  • 061489ec9a Move the stdlib executions into a plugin Dave Halter 2018-07-22 03:38:12 +02:00
  • df55f62ad8 Add a plugin infrastructure Dave Halter 2018-07-21 15:03:05 +02:00
  • e7a019e628 The implicit namespace package test from 4b276bae87 can only be used for Python 3.4+ Dave Halter 2018-07-21 11:51:41 +02:00
  • 7d2b7bb3c1 Add typeshed as a submodule Dave Halter 2018-07-21 09:50:25 +02:00
  • 4b276bae87 The import resolution for namespace packages was wrong Dave Halter 2018-07-21 00:16:10 +02:00
  • ad5170a37a Add a way to use the interpreter environment for tests Dave Halter 2018-07-20 19:16:02 +02:00
  • d292333dab MergedExecutedParams -> DynamicExecutedParams Dave Halter 2018-07-18 10:02:57 +02:00
  • a408fb3211 Fix a recursion error, fixes #1173 Dave Halter 2018-07-18 10:01:41 +02:00
  • 3cabc4b969 Remove two recursion tests again that will belong into a commit at a point where it is not failing anymore Dave Halter 2018-07-17 18:34:42 +02:00
  • fb360506fb Don't merge params if it's just one param Dave Halter 2018-07-17 09:48:52 +02:00
  • fe1799d125 Add a repr for AnonymousArguments Dave Halter 2018-07-17 09:48:27 +02:00
  • 733919e34c Fix a doctest Dave Halter 2018-07-17 00:47:42 +02:00
  • 10b61c41f4 Some minor flake8 fixes Daniel Hahler 2018-07-15 23:34:52 +02:00
  • 08b0b668a6 Script.__repr__: include environment Daniel Hahler 2018-07-16 01:27:32 +02:00
  • 72a8ceed76 Add params to CallSignature.__repr__ Daniel Hahler 2018-07-15 23:12:51 +02:00
  • c4e2892100 Improve __repr__ for BaseDefinition and AbstractNameDefinition Daniel Hahler 2018-05-05 20:40:18 +02:00
  • 1e796fc08d Environments are now always created on request Dave Halter 2018-07-15 16:19:34 +02:00
  • 2fc91ceb64 Improve Environment Daniel Hahler 2018-04-27 10:05:46 +02:00
  • f6bc166ea7 Add max line length 100 to the config for flake8 Dave Halter 2018-07-13 09:25:40 +02:00
  • 08fa7941ce tests: use monkeypatch.setenv Daniel Hahler 2018-07-12 03:22:09 +02:00
  • 3a62d54403 Don't test Python 3.3 on appveyor anymore, it's getting really hard to get all the right dependencies for it, because 3.3 is deprecated everywhere. Dave Halter 2018-07-12 21:21:40 +02:00
  • 748946349f Mention that it's ok to have a line length of 100 characters in our files. Dave Halter 2018-07-12 21:18:54 +02:00
  • 71cea7200b Don't use invalid escape sequences in regex, see https://github.com/davidhalter/jedi-vim/issues/843 Dave Halter 2018-07-12 08:54:03 +02:00
  • 87d7c59c6e subprocess: listen: exit normally with EOFError Daniel Hahler 2018-07-10 13:05:33 +02:00
  • f3c1f4c548 Script: improve ValueError for column Daniel Hahler 2018-07-10 15:58:20 +02:00
  • d06e55aab5 The sys path might be lazy or not in a venv Dave Halter 2018-07-10 10:07:18 +02:00
  • cef769ecd8 The encoding parameter should be used again (includes test), fixes #1167 Dave Halter 2018-07-09 18:25:28 +02:00
  • aa4dcc1631 Remove source_encoding from documentation (see #1167) Dave Halter 2018-07-09 18:12:27 +02:00
  • a59e5a016f Actually use the fast_parser setting again Dave Halter 2018-07-05 21:31:03 +02:00
  • 37a40d53a8 Use an import name list as long as possible Dave Halter 2018-07-05 18:11:58 +02:00
  • d8c0d8e5d2 Different _load_module API Dave Halter 2018-07-05 10:15:49 +02:00
  • 508ed7e5b8 Directly load modules if possible, with this it's not necessary anymore to use dotted_from_fs_path, also fixes #1013. Dave Halter 2018-07-05 10:03:05 +02:00
  • a12d62e9c9 Don't mutate the sys.path. This is pretty nasty bug that fixes #1148 Dave Halter 2018-07-04 08:40:05 +02:00
  • 2500112f6c Don't follow builtin imports anymore by default when follow_imports is on (goto) Dave Halter 2018-07-03 23:59:30 +02:00
  • 6cdc1bcd8a Add a changelog entry for the include_builtins change Dave Halter 2018-07-03 23:00:46 +02:00
  • 80831d79c2 additional_module_paths in usages never actually worked Dave Halter 2018-07-03 22:54:47 +02:00
  • d857668292 Add include_builtins to usages, fixes #1131. Dave Halter 2018-07-03 22:53:19 +02:00
  • f4aad8bbfe Finally make it possible to use auto_import_modules for packages Dave Halter 2018-07-03 00:58:24 +02:00
  • 5b7984c4d4 Test auto_import_modules in a very basic way Dave Halter 2018-07-02 09:57:18 +02:00
  • 2b1cbe4d42 Fix a bug about fstring completion Dave Halter 2018-07-02 01:26:17 +02:00
  • 61bc15b1aa docs: fix some incorrect reference and improve wording Daniel Hahler 2018-07-01 21:46:08 +02:00
  • 5bad06d4b6 docs: enable searchbox Daniel Hahler 2018-07-01 19:56:55 +02:00
  • 8ffdf6746f Comprehensions are also possible arguments. Fixes 1146 Dave Halter 2018-07-01 03:33:24 +02:00
  • b9f8daf848 tox.ini: upgrade pytest (<3.7) Daniel Hahler 2018-06-30 23:03:36 +02:00
  • a34ee5bb92 Revisit pytest config Daniel Hahler 2018-06-30 19:14:13 +02:00
  • a79a1fbef5 Merge branch 'parso' v0.12.1 Dave Halter 2018-06-30 14:27:30 +02:00
  • 58141f1e1e Don't use requirements for now, and use the git version instead in tox Dave Halter 2018-06-30 14:14:52 +02:00
  • e0e2be3027 Add a better comment about why people need to upgrade parso Dave Halter 2018-06-29 18:17:29 +02:00
  • 1e7662c3e1 Prepare release of 0.12.1 Dave Halter 2018-06-29 18:10:41 +02:00
  • 68974aee58 Don't use internal parso APIs if possible Dave Halter 2018-06-29 10:04:03 +02:00
  • c208d37ac4 Remove code that is no longer used, because parso was refactored. Dave Halter 2018-06-29 09:56:56 +02:00
  • 38474061cf Make jedi work with the next parso release Dave Halter 2018-06-29 09:54:57 +02:00
  • 95f835a014 Force unicode when listing module names micbou 2018-06-24 14:38:16 +02:00
  • 282c6a2ba1 Use highest possible pickle protocol micbou 2018-06-20 14:55:04 +02:00
  • ea71dedaa1 Include stderr with "subprocess has crashed" exception (#1124) Daniel Hahler 2018-06-23 11:37:43 +02:00
  • 106b11f1af Set stdout and stdin to binary mode on Python 2 and Windows micbou 2018-06-19 23:49:39 +02:00
  • f9e90e863b Use system default buffering on Python 2 micbou 2018-06-19 20:30:11 +02:00
  • 197aa22f29 Use cPickle on Python 2 if available micbou 2018-06-20 14:34:39 +02:00
  • e96ebbe88f Add tests for DefaultDict support. Tarcisio Eduardo Moreira Crocomo 2018-06-16 15:43:56 -03:00
  • 55941e506b Add support for DefaultDict on jedi_typing.py. Tarcisio Eduardo Moreira Crocomo 2018-06-15 22:38:43 -03:00
  • ff4a77391a Parse correct AST attribute for version Carl George 2018-06-15 09:31:29 -05:00
  • 70c2fce9c2 Replace distutils.spawn.find_executable with shutil.which micbou 2018-06-04 23:42:50 +02:00
  • 5dab97a303 Add an error message, see also #1139. Dave Halter 2018-06-07 21:01:41 +02:00
  • e2cd228aad Dict comprehension items call should now work, fixes #1129 Dave Halter 2018-06-03 11:54:14 +02:00
  • c1014e00ca Fix flow analysis test micbou 2018-06-06 15:59:07 +02:00