Nguyễn Hồng Quân
91ffdead32
Sort completions by input resemblance. ( #2018 )
...
* Sort completions by input resemblance.
Fixes #2017
* Clean code
2024-07-15 08:15:20 +00:00
Peter Law
d543d1d004
Support Python 3.13
...
This moves to using the 3.13 grammar as well as testing 3.13 in CI.
2024-07-02 21:37:34 +01:00
Peter Law
9d18b7c36d
Document how Jedi manages its subprocesses
...
This is derived from my understanding of the code, plus a bit of
experimentation.
2024-07-02 21:37:34 +01:00
HairlessVillager
8792c6d432
Add a windows path in _get_executable_path()
2024-05-06 17:04:38 +08:00
HairlessVillager
94ec4b873a
Fix some misalignment of docstrings
2023-12-28 13:26:12 +08:00
Peter Law
770cdade00
Claim support for Python 3.12
2023-09-16 21:41:06 +01:00
Dave Halter
8a4b079d0f
allow_descriptor_getattr -> allow_unsafe_interpreter_executions
2023-07-29 00:06:55 +02:00
Dave Halter
62cbcb0844
Make nested dict completions possible.
...
See also https://github.com/ipython/ipython/issues/13866
2023-07-28 23:50:38 +02:00
Dave Halter
1947e7dd56
Avoid dynamic params search for Interpreter, fixes #1899
2023-07-27 13:49:27 +02:00
Dave Halter
01d8da8f73
Reset the recursion limitations at the start of the main Script calls, fixes #1796
2023-07-27 13:14:24 +02:00
Dave Halter
cd4ca74d7a
Satisfy flake8
2023-07-27 11:36:16 +02:00
Dave Halter
5f19237a3e
Fix renaming of namespace packages, fixes #1779
2023-07-27 03:09:25 +02:00
David Hotham
0fbc2aafa3
fix help when in column zero
2023-03-12 14:21:09 +00:00
Peter Law
67e0bec597
Support Python 3.11
...
This adds support for targetting Python 3.11 via picking up the
latest grammar from parso while also validating support for running
on 3.11 by adding it to the CI matrix.
2023-02-13 19:58:35 +00:00
Peter Law
664b10a5c6
Update mypy to the latest
...
This includes updating the ignore comments for things which mypy
now knows about or now complains about, as well as pulling in some
typeshed packages for things outside the standard library.
2023-02-13 19:40:16 +00:00
Patterson, Kevin R
fac0b7f068
instance_allow_descriptor_getattr as public setting
2023-02-10 05:43:21 -06:00
Dave Halter
41455480be
Better search for venvs
2022-11-21 23:06:26 +01:00
Dave Halter
a3fed3b6a6
Remove a TODO that was already implemented
2022-11-14 08:39:11 +01:00
Dave Halter
3a30008cc4
Fix keyword argument completion, fixes #1856
2022-11-13 20:26:00 +01:00
Dave Halter
6e5db3f479
Fix a weird AttributeError, fixes #1765
2022-11-13 18:26:01 +01:00
Dave Halter
0ba48bbb9d
Fix an issue with creatin a diff, fixes #1757
2022-11-13 17:51:54 +01:00
Tim Gates
c28b337278
docs: Fix a few typos
...
There are small typos in:
- jedi/api/exceptions.py
- jedi/inference/base_value.py
- jedi/inference/compiled/mixed.py
- jedi/inference/value/dynamic_arrays.py
Fixes:
- Should read `usually` rather than `ususally`.
- Should read `modifications` rather than `modfications`.
- Should read `interpreters` rather than `interpreteters`.
- Should read `inferred` rather than `inferrined`.
- Should read `completable` rather than `completeable`.
Signed-off-by: Tim Gates <tim.gates@iress.com >
2022-07-15 17:29:02 +10:00
Tom Aarsen
f193ae67e9
typo: "statemenet" -> "statement"
2021-11-17 12:59:13 +01:00
Dave Halter
ec9b453379
Handle defined_names for values that have no context, fixes #1744 , fixes #1745
2021-11-17 01:07:28 +01:00
Dave Halter
84d086a47b
Fix an issue with whitespace after a dot at the end of a file, also part of #1748
2021-11-17 00:31:46 +01:00
Dave Halter
b846043117
Add 3.10 to the supported Python versions
2021-11-16 23:19:21 +01:00
Peter Law
87388ae00f
Drop dead line
2021-07-24 17:12:34 +01:00
Peter Law
b9fd84e11c
Add sanity-check exception
...
Found by mypy while adding types.
2021-07-24 17:12:34 +01:00
Peter Law
75624f0e3c
Convert more things to Python 3 idioms
2021-07-24 17:12:34 +01:00
Aivar Annamaa
9f41153eb2
Allow tweaking Interpreter sys_path ( #1734 )
2021-01-23 14:38:10 +01:00
Dave Halter
0ff532b937
Refactor docstrings
2021-01-14 01:11:50 +01:00
Dave Halter
b9067ccdbb
Avoid caching parso objects, fixes #1723
2021-01-14 00:29:34 +01:00
Dave Halter
6279791b24
Fix an issue with complete_search
2021-01-10 16:08:17 +01:00
Dave Halter
3428a24af0
Remove an outdated comment
2021-01-02 23:41:38 +01:00
Dave Halter
2ec3d72151
Use "namespace" as a Name.type
2021-01-02 12:14:28 +01:00
Dave Halter
02d43caa5e
Fix a wrong test about references
2021-01-02 01:17:38 +01:00
Dave Halter
7d160f96f6
Do not show signatures for properties, fixes #1695
2021-01-01 23:51:41 +01:00
Dave Halter
f9cec89038
Merge branch 'master' into deprecations
2020-12-12 12:17:25 +01:00
Dave Halter
42a759a7ae
Merge pull request #1706 from ColdGrub1384/master
...
Catch 'PermissionError' for unreadable directories
2020-12-07 22:34:03 +01:00
Adrian Labbé
12a2d10595
Catch 'OSError' instead of just 'PermissionError'
2020-12-06 15:25:46 -03:00
Yoni Weill
ccdf7eddf4
add Completion.get_completion_prefix_length
...
fixes #1687
2020-12-06 17:21:33 +02:00
Adrian Labbé
83d4ec9e84
Catch 'PermissionError' for unreadable directories
2020-12-05 21:00:28 -03:00
Dave Halter
a03a093e2c
change the create_stub_module stuff a bit
2020-10-24 10:41:59 +02:00
Dave Halter
6094e7b39a
Fix get_line_code for stubs
2020-10-24 10:12:32 +02:00
Dave Halter
a5a36a049c
Fix an infer issue on literals after brackets, fixes #1657
2020-10-23 19:09:23 +02:00
Dave Halter
76c0c373da
Merge pull request #1642 from PeterJCLaw/mypy
...
Add an initial mypy config
2020-08-05 01:09:49 +02:00
Dave Halter
2f7d0ec42c
Project attributes are now read accessible
2020-08-01 18:26:26 +02:00
Peter Law
b892c07841
Merge branch 'master' into mypy
2020-07-26 12:25:19 +01:00
Peter Law
86e0e16625
Drop redundant rtype comment
...
This is better expressed as an annotation.
2020-07-26 12:10:59 +01:00
Dave Halter
9d1587a41d
Don't need to inherit from object anymore
2020-07-26 00:11:57 +02:00