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
Peter Law
cefc363f64
Configure mypy and flake8 for our re-export files
...
This removes the need to use __all__ in these files, while also
allowing us to have strictness elsewhere in the codebase.
2020-07-26 12:20:08 +01:00
Dave Halter
9d1587a41d
Don't need to inherit from object anymore
2020-07-26 00:11:57 +02:00
Peter Law
5e509814f7
Ignore mypy not coping with decorated properties
2020-07-24 20:25:55 +01:00
Peter Law
b1f95b4bf9
Annotate these attributes
2020-07-24 16:10:34 +01:00
Peter Law
7d9205d4ae
This is actually optional
2020-07-24 16:10:34 +01:00
Peter Law
35c2d660cb
Fix most import related mypy errors
2020-07-24 16:10:34 +01:00
Dave Halter
784e965d3a
@property now returns Name.type == 'property', fixes muffinmad/anakin-language-server#15
2020-07-20 01:20:24 +02:00
Dave Halter
9957565b37
Try to use yield from instead of yield, if possible
2020-07-19 13:34:58 +02:00
Dave Halter
1ece7698c2
Merge branch 'master' into python3
2020-07-17 16:07:54 +02:00
Dave Halter
e4987b3e7a
Fix issues with generators, fixes #1624
2020-07-17 15:57:32 +02:00
Dave Halter
d1851c369c
Introduce py__next__ to have more clear way to use __next__
2020-07-17 15:57:32 +02:00
Dave Halter
db0e90763b
Start using pathlib.Path instead of all the os.path functions
2020-07-10 17:30:36 +02:00
Dave Halter
546b970240
Rewrite a weird super call
2020-07-02 12:31:16 +02:00
Dave Halter
24a1bbb3ca
Even more super deletions
2020-07-02 12:29:10 +02:00
Dave Halter
5ab351dc8f
Remove unicode literals from code base
2020-07-02 10:43:14 +02:00
Dave Halter
7f67324210
Remove a lot more Python 2 mentions and todos
2020-07-02 10:30:58 +02:00
Dave Halter
1fbe0d8d2e
Remove python_version_match from publish_method
2020-07-02 03:04:14 +02:00
Dave Halter
6e184bca97
Remove most version_info.major usages
2020-07-02 03:00:01 +02:00
Dave Halter
f4e537fd72
Remove a lot of sys.version_info references
2020-07-02 02:49:35 +02:00
Dave Halter
17343bb57c
Remove some more Python 3.5 references
2020-07-02 02:18:16 +02:00
Dave Halter
49e4b1a0f8
Remove force_unicode
2020-07-02 01:47:21 +02:00
Dave Halter
1dc83115be
Remove use_metaclass
2020-07-02 00:58:30 +02:00
Dave Halter
23db298e2f
Removed various 3.3/3.4/3.5 references
2020-07-02 00:34:27 +02:00
Dave Halter
4188526e2d
Revert some of the Decoratee changes
2020-06-27 02:18:31 +02:00
Dave Halter
804b0f0d06
Some more signature adjustments
2020-06-27 02:18:31 +02:00
Dave Halter
7b15f1736c
Change Decoratee slightly
2020-06-27 02:18:31 +02:00