Commit Graph

  • 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 #1119 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 #1162 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
  • 62a3f99594 Fix a wrong branch check, fixes #1128 Dave Halter 2018-06-01 08:59:16 +02:00
  • 6ebe3f87a3 Drop 3.3 tests from travis Dave Halter 2018-05-23 11:24:39 +02:00
  • 50812b5836 A simple yield should not cause an error, fixes #1117 Dave Halter 2018-05-23 09:56:40 +02:00
  • d10eff5625 Travis: report coverage also to codecov.io Daniel Hahler 2018-04-27 10:35:45 +02:00
  • 6748faa071 Fix _get_numpy_doc_string_cls: use cache Daniel Hahler 2018-05-05 19:18:14 +02:00
  • fc14aad8f2 Fix namespace autocompletion error Maxim Novikov 2018-05-02 23:34:23 +02:00
  • 3c909a9849 Travis: remove TOXENV=cov from allowed failures Daniel Hahler 2018-04-27 10:44:45 +02:00
  • b94b45cfa1 Environment._get_version: add msgs with exceptions Daniel Hahler 2018-04-27 10:23:50 +02:00
  • a95274d66f None/False/True are atom non-terminals in the syntax tree, fixes #1103 Dave Halter 2018-05-01 23:40:52 +02:00
  • 8d48e7453a When searching submodules, use all of __path__, fixes #1105 Dave Halter 2018-05-01 23:15:54 +02:00
  • 91499565a9 Specially crafted docstrings sometimes lead to errors, fixes #1103 Dave Halter 2018-04-25 21:03:47 +02:00
  • ba96c21f83 Follow up from the last async issue, fixes more related things about #1092. Dave Halter 2018-04-24 01:02:31 +02:00
  • 8494164b22 Fix an async funcdef issue, fixes 1092. Dave Halter 2018-04-24 00:41:18 +02:00
  • 4075c384e6 In some very rare cases it was possible to get an interpreter crash because of this bug. Fixes #1087 Dave Halter 2018-04-23 08:56:01 +02:00
  • 0bcd1701f0 Start using our own monkeypatch function for some things Dave Halter 2018-04-20 21:34:00 +02:00
  • ceb5509170 Include function return type annotation in docstring if it is present Dima Gerasimov 2018-03-05 18:24:28 +00:00
  • 88243d2408 Don't catch IndexError where we don't have to Dave Halter 2018-04-20 01:46:14 +02:00
  • 5f37d08761 Extend create_environment to accept an executable path micbou 2018-04-18 16:46:20 +02:00
  • aa6857d22d check_fs: handle FileNotFoundError Daniel Hahler 2018-04-17 15:40:47 +02:00
  • bd7c65d963 Finally fix all the get_system_environment issues v0.12.0 Dave Halter 2018-04-15 16:43:53 +02:00
  • fe0ad8f1da Fix a test Dave Halter 2018-04-15 16:23:29 +02:00
  • a21d77e8ad There's really no bin/activate needed for an environment to work Dave Halter 2018-04-15 16:15:20 +02:00