diegorodriguezv
7028bbb5d5
Fix language servers reference
2023-06-21 19:06:53 -05:00
Dave Halter
3699ba0aa7
Merge pull request #1942 from lkh42t/inference-annotated
...
Support typing.Annotated inference
2023-06-19 00:28:27 +00:00
Luc Khai Hai
72d34f3d7d
Support typing.Annotated inference
2023-06-17 20:46:03 +09:00
Peter Law
a28bd24bef
Merge branch 'importlib-metadata-entry-points'
2023-05-28 12:08:09 +01:00
Peter Law
54cb64292c
Support importlib.metadata entry points for newer python
...
pkg_resources is deprecated and liable to be dropped at some point.
2023-05-28 11:48:19 +01:00
Dave Halter
d421b920fa
Merge pull request #1937 from PeterJCLaw/update-importlib-usage
...
Modernise importlib usage
2023-05-27 22:54:45 +00:00
Peter Law
c137eb6918
Modernise importlib usage
...
`find_module` is deprecated in all supported version of Python and
is slated for removal in the upcoming 3.12. Happily it seems we
can move to the related `find_spec` and just hoist the loader from
the spec which that returns. (This is mostly what current `find_module`
implementations do anyway).
2023-05-27 22:03:51 +01:00
Peter Law
d67facc922
Merge branch 'update-github-actions'
2023-05-27 22:03:03 +01:00
Dave Halter
7023b645b1
Merge pull request #1935 from PeterJCLaw/fix-attrs-as-dataclass
...
Teach Jedi that `attrs`' `frozen` decorator also acts like a dataclass
2023-05-27 21:01:21 +00:00
Peter Law
b5120cc90b
Update GitHub Actions for Node 16 support
2023-05-27 00:18:38 +01:00
Peter Law
483e78993d
attrs' frozen decorator also acts like a dataclass
...
In 23.1.0 (specifically in 46053d703d )
the definition of the `frozen` decorator was tweaked slightly, such
that its type stub is separate from that for `define`. This means
that Jedi needs to be told about it as a separate member.
I've manually checked that this still works with the prior version
of `attrs`.
Fixes https://github.com/davidhalter/jedi/issues/1929
2023-05-27 00:13:55 +01:00
Peter Law
3dbcd2c6de
Whitespace
2023-05-27 00:10:00 +01:00
Peter Law
ca36fcfa4b
Fix typo in comment
2023-05-26 21:38:42 +01:00
Dave Halter
825c6b93bf
Merge pull request #1930 from tachikoma-li/doc-fix
...
docs: Fix typo in acknowledgements
2023-04-21 21:55:14 +00:00
Li Li
c22585c6f2
small doc fix
2023-04-19 15:12:39 +10:00
Dave Halter
431d1e104d
Merge pull request #1926 from dijonkitchen/patch-1
...
Update usage.rst to match Readme language servers
2023-04-12 15:50:21 +00:00
Dave Halter
adcd6ade8b
Merge pull request #1927 from dijonkitchen/patch-2
...
docs: fix spelling
2023-04-12 15:49:40 +00:00
JC (Jonathan Chen)
32a1dd33a6
docs: fix spelling
2023-04-12 11:01:10 -04:00
JC (Jonathan Chen)
9ea01bcc69
Update usage.rst to match Readme language servers
2023-04-12 10:58:57 -04:00
Dave Halter
77cfefc1cc
Add a security policy
2023-03-22 00:47:58 +01:00
Dave Halter
ff7d6c6e4c
Merge pull request #1922 from zerocewl/add_pylsp_link
...
Added link to the python-lsp-server
2023-03-21 23:24:04 +00:00
Dave Halter
6ee33bd385
Merge pull request #1923 from dimbleby/help-after-newline
...
fix help when in column zero
2023-03-13 20:17:13 +00:00
David Hotham
0fbc2aafa3
fix help when in column zero
2023-03-12 14:21:09 +00:00
zerocewl
fe7e350051
Added link to the python-lsp-server
2023-03-01 16:27:11 +01:00
Dave Halter
b814ca2951
Merge pull request #1917 from PeterJCLaw/python-3.11
...
Support Python 3.11
2023-02-14 00:48:04 +00:00
Peter Law
aae2a8e3ed
Cope with Windows virtualenvs different casing
2023-02-13 20:25:31 +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
c71e06fcb3
Clarify that this is also the latest flake8 version which supports 3.6
2023-02-13 19:57:38 +00:00
Peter Law
bbd5bcf3ca
Merge branch 'update-mypy'
2023-02-13 19:57:20 +00:00
Dave Halter
d888c1b266
Merge pull request #1915 from PeterJCLaw/update-flake8
...
Update flake8 and fix issue found
2023-02-13 19:49:36 +00:00
Peter Law
83d0e23800
Type check setup.py too now we can
2023-02-13 19:40:16 +00:00
Peter Law
dc4e48d7c7
Be stricter about mypy needing error codes
...
These make it clearer what's being ignored and harder to
accidentally ignore more than expected.
2023-02-13 19:40:16 +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
Peter Law
36a4b7d48c
Update flake8 and fix issue found
2023-02-13 19:15:35 +00:00
Dave Halter
b0025ee6ba
Merge pull request #1911 from krpatter-intc/allow_descriptor_getattr_official_support
...
Make allow_descriptor_getattr a non-private variable for more official
2023-02-10 22:30:33 +00:00
Patterson, Kevin R
fac0b7f068
instance_allow_descriptor_getattr as public setting
2023-02-10 05:43:21 -06:00
Dave Halter
aeadba7cad
Merge pull request #1910 from ghrist8p/1909-fix-sys-path-is-tuple
...
Replaced tuple passed as sys_path actual argument with list
2023-02-07 23:21:16 +00:00
Georgi Hristov
fd0e6aed96
Replaced tuple passed as sys_path actual argument with list
...
Fixes davidhalter#1909
2023-02-05 15:46:23 -08:00
Dave Halter
c89fa8e927
Merge pull request #1903 from s-t-e-v-e-n-k/python-311-string-typing
...
Support Python 3.11 typing changes
2023-01-10 19:57:58 +00:00
Steve Kowalik
00e23ddcee
Support Python 3.11 typing changes
...
Python 3.11 has changed typing so that unions now return forward
refrences instead of erroring, and typing.Any is now an _AnyMeta class.
Correct the parameters for both of those.
Fixes #1858
2023-01-10 14:52:24 +11:00
Dave Halter
66e97e5b93
Jedi is now a fixed part of the Eric IDE
2022-12-16 15:37:22 +01:00
Dave Halter
0f5ea3de5f
Revert "Removed all usages of Eric IDE, because apparently it's not using Jedi anymore"
...
This reverts commit e47bbbb851 .
2022-12-16 15:36:31 +01:00
Dave Halter
e47bbbb851
Removed all usages of Eric IDE, because apparently it's not using Jedi anymore
2022-12-16 15:33:07 +01:00
Dave Halter
eaab706038
Prepare the release of 0.18.2
v0.18.2
2022-11-21 23:23:46 +01:00
Dave Halter
41455480be
Better search for venvs
2022-11-21 23:06:26 +01:00
Dave Halter
0a670d10dd
Merge branch 'master' of github.com:davidhalter/jedi
2022-11-21 22:59:48 +01:00
Dave Halter
6b73d5c1bf
Probably using the 3.10 grammar is better for stubs for now
2022-11-21 21:07:33 +01:00
Dave Halter
a3fed3b6a6
Remove a TODO that was already implemented
2022-11-14 08:39:11 +01:00
Dave Halter
66c52b4bc7
Try to fix a test for Windows
2022-11-13 23:48:43 +01:00
Dave Halter
89f9a3a7f1
Fix a Django test
2022-11-13 23:38:22 +01:00