Dave Halter
8520a9958b
Implement support for TypeVar inference for __new__
2026-05-01 22:52:05 +02:00
Dave Halter
418598d8c1
Implement type[...]
2026-05-01 15:44:26 +02:00
Dave Halter
4f7dfd14b3
Small improvements to generator/async completions
2026-04-29 23:38:07 +02:00
Dave Halter
be993d132e
Attempt to improve tuple unpackings
2026-04-29 23:10:31 +02:00
Dave Halter
aa72381ed1
Implement Self, fixes #2023 , fixes #2068
2026-04-29 17:51:01 +02:00
Dave Halter
3365d0763b
Implement __new__ signatures, fixes #2073
2026-04-28 02:25:25 +02:00
Dave Halter
e7fdbcc834
Fix a few more typing issues
2026-02-04 02:24:41 +01:00
Dave Halter
30ef824abd
Introduce some stricter typing
2026-02-04 01:19:14 +01:00
Dave Halter
c7481b3319
Fix a linter issue
2026-01-20 02:05:51 +01:00
Dave Halter
3ac1632a5c
Avoid the need to import search_ancestor
2026-01-19 20:30:03 +01:00
Eric Masseran
15a7513fd0
Improve code comment
2025-08-29 18:54:30 +02:00
Eric Masseran
3a436df7ac
Remove property usage
2025-08-29 18:37:37 +02:00
Eric Masseran
c1e9aee15b
Clean code comments
2025-08-29 18:37:23 +02:00
Eric Masseran
6e5f201f6c
Use future annotations
2025-08-29 18:36:54 +02:00
Eric Masseran
356923e40d
Merge remote-tracking branch 'origin' into support-dataclass-transform
...
* origin:
Fix pip install -e in docs
Upgrade Mypy
Fix a few flake8 issues
Upgrade flake8
Upgrade other test runners
Remove 3.6/3.7 references and change tests slightly
Upgrade OS's that it is tested on
Try to add something to the README
2025-08-28 10:33:17 +02:00
Dave Halter
d411290dff
Upgrade Mypy
2025-06-16 16:49:46 +02:00
Eric Masseran
d53a8ef81c
Support init customization on dataclass_transform source
2025-05-05 02:02:17 +02:00
Eric Masseran
5f4afa27e5
Documentation and better naming
2025-05-04 23:34:58 +02:00
Eric Masseran
999332ef77
Dataclass transform change init False
2025-03-18 00:30:50 +01:00
Eric Masseran
50778c390f
Fix init=false for transform and exclude fields on base transform
2025-03-15 16:23:32 +01:00
Eric Masseran
8912a35502
Support init=False for dataclass_transform
2025-03-15 16:00:51 +01:00
Eric Masseran
77cf382a1b
Support init=False for dataclass
2025-03-15 15:53:51 +01:00
Eric Masseran
472ee75e3c
Add ClassVar support for dataclass
2025-03-15 13:15:19 +01:00
Eric Masseran
efc7248175
Fix mypy
2025-03-15 12:05:05 +01:00
Eric Masseran
74b46f3ee3
Add doc
2025-02-15 20:27:08 +01:00
Eric Masseran
027e29ec50
Support base class and metaclass mode
2025-02-15 20:12:53 +01:00
Dave Halter
26f7878d97
Revert some of the logic around ClassVar completions, see #1847
2022-11-12 23:15:16 +01:00
Dave Halter
8027e1b162
Remove the ClassVar filter, see also #1847
2022-11-12 22:58:00 +01:00
Dave Halter
94e78340e1
Fix a formatting issue in CI
2022-11-11 17:54:57 +01:00
Dave Halter
804e4b0ca2
Merge pull request #1861 from qmmp123/master
...
Fix : #1847
2022-11-11 16:00:39 +00:00
Yusheng.Ma
f5faca014f
fix autocomplete crash in ycmd
...
Signed-off-by: Yusheng.Ma <Yusheng.Ma@zilliz.com >
2022-08-17 07:53:35 +00: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
nedilmark
128695bd8e
remove debug changes
2022-07-03 09:42:29 +08:00
nedilmark
e194ab5951
Fix : #1847
2022-06-18 06:13:07 +08:00
Dave Halter
8bc9c8cda2
Fix an issue where a slice is indexed, fixes #1748
2021-11-17 00:14:59 +01:00
Laurent Soest
fe50352f9c
annotations should be preferred even when it is a generator
2021-08-28 21:04:57 +02:00
Peter Law
aa265a44e1
Have all py__file__ methods return a Path
2021-07-24 17:14:25 +01:00
Dave Halter
47d0318fa6
Paths are the default for modules
2021-01-14 02:00:14 +01:00
Dave Halter
b6fd81f1e1
Another time avoiding a memory leak, also part of #1723
2021-01-14 01:18:00 +01:00
Dave Halter
b9067ccdbb
Avoid caching parso objects, fixes #1723
2021-01-14 00:29:34 +01:00
Dave Halter
2ec3d72151
Use "namespace" as a Name.type
2021-01-02 12:14:28 +01:00
Dave Halter
1ccc63e83d
Make py__iter__ work as well for Interpreter
2021-01-01 17:58:31 +01:00
Dave Halter
971913be35
Make it possible to use __getitem__ in interpreter
2021-01-01 15:57:55 +01:00
Dave Halter
c64e33173a
Fix an issue about properties, fixes #1705
2020-12-28 00:54:40 +01:00
Dave Halter
5d2aed34f4
Fix signatures if a decorator has no signatures, fixes #1705
2020-12-28 00:47:10 +01:00
Dave Halter
04c1c0f871
Fix an issue with api_name of class attributes, fixes #1688
2020-12-28 00:29:30 +01:00
Leo Ryu
fd435a7bbb
Check if string_names is None before returning string_names ( #1708 )
...
* Check if string is None before using string_names
* Add test asserting None string_names returns an empty list
* Remove whitespace to pass flake8
* Add name to authors.txt
Co-authored-by: Leo Ryu <leo@episci.com >
2020-12-12 12:13:31 +01:00
Dave Halter
6eabde1519
Fix annotations on self attributes, fixes #1681
2020-10-23 23:26:07 +02:00
Dave Halter
49e35497ae
Stop subclassing CompiledName, potentially fixes #1667
2020-10-23 21:28:08 +02:00
Peter Law
b892c07841
Merge branch 'master' into mypy
2020-07-26 12:25:19 +01:00