Dave Halter
24a06d2bf9
Merge branch 'names-all-scopes-false-returns-class-fields' of https://github.com/immerrr/jedi
2019-04-09 22:58:03 +02:00
Nikhil Mitra
8d0c4d3cec
Resolve path in get_cached_default_environment() in api/environment.py to
...
prevent unnecessary cache busting when using pipenv.
2019-04-05 15:21:46 +02:00
micbou
77a7792afc
Fix transform_path_to_dotted tests on Windows
...
Convert paths to normalized absolute ones in transform_path_to_dotted
tests.
2019-03-16 17:34:00 +01:00
Dave Halter
92a8a84ff2
Fix sys.path completions, #1298
2019-03-13 21:11:20 +01:00
Dave Halter
b659b20d27
Fix an issue between different subprocess versions
2019-03-08 18:20:00 +01:00
Dave Halter
967d35e4be
Correct a docstring
2019-03-08 16:35:15 +01:00
Dave Halter
cd8c9436c5
Merge branch 'master' of github.com:davidhalter/jedi
2019-03-08 16:23:46 +01:00
Dave Halter
f93134d4f8
Two simple test fixes
2019-03-08 16:23:37 +01:00
Stanislav Grozev
6031971028
Use expanded paths when looking for virtualenv root
...
This fixes virtualenv resolution under macOS and Pipenv.
2019-03-08 01:22:21 +01:00
micbou
46742328b6
Improve test_import_completion_docstring robustness
2019-03-02 09:58:01 +01:00
Dave Halter
ffd9a6b484
Make it possible to complete in non-Python files
2019-02-28 20:04:17 +01:00
Dave Halter
8aca357de6
Write a test for #1209
...
Relative imports were failing in nested Python packages. With the fix to
transforming paths to dotted paths this should already be a lot better,
still here's a regression test.
2019-02-28 09:51:47 +01:00
Dave Halter
1a32663f85
The calculation of dotted paths from normal paths was completely wrong
2019-02-28 09:42:56 +01:00
tamago324
4fecca032d
Fix typo
2019-02-27 20:40:59 +01:00
Dave Halter
17136e03d2
Fix get_parent_scope
2019-02-27 13:08:21 +01:00
Dave Halter
94f2677752
Fix names selection and params, fixes #1283
2019-02-26 00:20:33 +01:00
Dave Halter
eac69aef2b
Infer names in the correct way, fixes #1286
2019-02-25 21:48:57 +01:00
Dave Halter
2dd2d06bca
Add a todo
2019-02-25 00:27:27 +01:00
Dave Halter
5a2e3ee8e3
Filter self names in a more correct way, fixes #1275
2019-02-25 00:26:34 +01:00
Dave Halter
8ac7d1fdb6
Use the internal parse function to avoid UnicodeDecodeError in mixed, fixes #1277
2019-02-24 19:56:17 +01:00
Dave Halter
0bf8a69024
v13.3 release notes
v0.13.3
2019-02-24 18:45:07 +01:00
Dave Halter
9bb8f335c9
A small improvement for environments
...
see comment in 8d313e014f
2019-02-22 01:04:01 +01:00
Dave Halter
8d313e014f
Check for specific Python versions first on unix, see davidhalter/jedi-vim#870
2019-02-22 00:34:03 +01:00
Dave Halter
a79d386eba
Cleanup SameEnvironment and use the same logic for creation in virtualenvs
2019-02-22 00:24:55 +01:00
Dave Halter
48b137a7f5
Revert "Remove an used function"
...
This reverts commit efd8861d62 .
2019-02-21 17:54:01 +01:00
Dave Halter
b4a4dacebd
Fix embedded Python with Jedi (see comments in source code), fixes davidhalter/jedi-vim#870
2019-02-21 10:19:28 +01:00
Dave Halter
efd8861d62
Remove an used function
2019-02-21 10:16:17 +01:00
Dave Halter
2f86f549f5
Improve an error message, see #1279
2019-02-16 04:32:03 +01:00
Marc Zimmermann
cc0c4cc308
fixing permission denied errors with project.json
2019-02-16 04:28:26 +01:00
Dave Halter
9617d4527d
setup.py was not executable in Python3.7
2018-12-15 22:18:42 +01:00
Dave Halter
86ae11eb43
Add a new release 0.13.2
v0.13.2
2018-12-15 20:09:36 +01:00
Dave Halter
078595f8d7
Merge pull request #1262 from hoefling/pytest-marks
...
Use `pytest.param` when marking single parameters
2018-12-15 19:14:56 +01:00
Bet4
76417cc3c1
Fix environment cache regression ( #1238 )
...
The only remaining issue with this PR is that it does compare with executable instead of _start_executable (they don't need to be the same).
2018-12-15 18:37:28 +01:00
oleg.hoefling
70800a6dc2
bumped pytest dependency to 3.1.0
2018-12-07 18:22:29 +01:00
oleg.hoefling
4711b85b50
used pytest.param to comply with pytest>=4
2018-12-07 17:49:39 +01:00
micbou
368bf7e58a
Improve docstring formatting
2018-11-26 00:26:34 +01:00
immerrr
3f5ac0cf56
test_param_docstring: use all_scopes=True to ensure param is extracted
2018-10-18 14:47:20 +03:00
immerrr
1e8674b51c
get_module_names: fix "all_scopes=False" handling
...
Previously, names defined within the scope of first-level classes or functions
were returned.
2018-10-18 14:47:20 +03:00
immerrr
a8401f6923
Add failing test for jedi.api.names(..., all_scopes=False)
2018-10-18 13:54:33 +03:00
Jelte Fennema
3bdb941daa
Add an exact_key_items method to DictComprehension fixes #1233
2018-10-14 17:08:44 +02:00
Dave Halter
bd1010bbd2
Create a new 0.13.1 release
v0.13.1
2018-10-02 19:07:35 +02:00
Dave Halter
23b3327b1d
Fixed completions of global vars and tensorflow slowness, fixes #1228 , #1116
2018-10-02 15:28:51 +02:00
Dave Halter
075577d50c
The changelog date was wrong
2018-10-02 15:25:31 +02:00
Dave Halter
96b57f46cb
Release notes for 0.13.0
v0.13.0
2018-10-02 01:14:28 +02:00
Dave Halter
c24eb4bd67
Fix tensorflow issues with a few hacks (temporary), fixes #1195
2018-10-02 00:52:11 +02:00
Dave Halter
862f611829
If the VIRTUAL_ENV variable changes, need to reload the default environment, fixes #1201 , #1200
2018-09-30 19:07:48 +02:00
Dave Halter
f9cbc65f2d
Return SameEnvironment as a default, fixes #1226 , #1196
2018-09-30 14:07:37 +02:00
Dave Halter
e1f9624bd4
Document that using the REPL autocompletion is only available on Linux/Mac, fixes #1184
2018-09-30 13:36:05 +02:00
Dave Halter
6a2a2a9fa1
Fix an issue with f-strings, fixes #1224
2018-09-30 13:26:54 +02:00
Dave Halter
4545d91929
Ignore some errors that are happening when the Python process ends and its subprocesses are cleaned up
2018-09-30 13:26:26 +02:00