1
0
forked from VimPlug/jedi
Commit Graph

8534 Commits

Author SHA1 Message Date
Dave Halter e5a72695a8 Remove 3.6/3.7 references and change tests slightly 2025-06-16 16:18:15 +02:00
Dave Halter 4238198eea Upgrade OS's that it is tested on 2025-06-16 16:07:20 +02:00
Dave Halter a10b158bcc Try to add something to the README 2025-06-16 15:13:01 +02:00
Eric Masseran 503c88d987 Merge remote-tracking branch 'origin' into support-dataclass-transform
* origin:
  Don't remove `sys.path[0]`.
  perf: improve performance by replacing list to set
  Explicit sphinx config path
2025-05-05 02:03:07 +02:00
Eric Masseran d53a8ef81c Support init customization on dataclass_transform source 2025-05-05 02:02:17 +02:00
Eric Masseran eb80dc08f3 Add decorator tests - sandwich mode 2025-05-05 00:37:38 +02:00
Eric Masseran 5f4afa27e5 Documentation and better naming 2025-05-04 23:34:58 +02:00
Eric Masseran e49032ed6b Dataclass transform typing extension without Final support 2025-03-18 00:59:27 +01:00
Eric Masseran e20c3c955f Dataclass 3.7 mode without Final 2025-03-18 00:52:01 +01:00
Eric Masseran a3fd90d734 Fix dataclass decorator other parameters 2025-03-18 00:42:58 +01:00
Eric Masseran 999332ef77 Dataclass transform change init False 2025-03-18 00:30:50 +01:00
Eric Masseran e140523211 Fix attrs + remove dataclass_transform init=false tests 2025-03-17 23:51:53 +01:00
Eric Masseran bd1edfce78 Fix test 2025-03-17 19:48:42 +01:00
Eric Masseran 7dcb944b05 Fix decorator transformed case 2025-03-15 16:42:16 +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 e0797be681 Check final+classvar support for dataclass transform 2025-03-15 16:02:23 +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 70efe2134c Check final support for dataclass 2025-03-15 13:17:18 +01:00
Eric Masseran 472ee75e3c Add ClassVar support for dataclass 2025-03-15 13:15:19 +01:00
Eric Masseran 68c7bf35ce Add init cases for dataclass 2025-03-15 13:07:35 +01:00
Eric Masseran efc7248175 Fix mypy 2025-03-15 12:05:05 +01:00
Dave Halter c4f0538930 Merge pull request #2055 from zuckerruebe/dont-remove-sys-path-0
Don't remove `sys.path[0]`.
2025-03-14 17:20:41 +00:00
Damian Birchler 35a12fab7a Don't remove sys.path[0].
Fixes https://github.com/davidhalter/jedi/issues/2053.
2025-03-13 09:52:49 +01:00
Dave Halter a856a93bd1 Merge pull request #2051 from allrob23/perf-list-to-set
perf: optimize transitions and path handling using sets
2025-03-06 09:04:07 +00:00
Robin 60f0894f66 Merge branch 'davidhalter:master' into perf-list-to-set 2025-03-05 09:53:36 -03:00
Robin 699c930bd4 perf: improve performance by replacing list to set 2025-03-05 12:53:08 +00:00
Peter Law 9dd76c7ce5 Explicit sphinx config path
This is now required by ReadTheDocs; see
https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/
2025-03-04 22:07:56 +00: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
Eric Masseran f9beef0f6b Add fixture to skip pre 3.11 2025-02-15 20:09:11 +01:00
Eric Masseran d866ec0f80 Add support for dataclass_transform decorator 2025-02-14 17:05:28 +01:00
Dave Halter 6aee460b1d Merge pull request #2042 from bluthej/docs/fix-inheritance-diagram
Fix inheritance diagram
2024-12-29 15:00:40 +00:00
bluthej 0315e6ee8f Add graphviz to installed APT packages 2024-12-28 16:43:05 +01:00
Dave Halter ce109a8cdf Fix a small fail in test_duplicated_import 2024-11-25 09:49:44 +01:00
Dave Halter ecb922c6ff Fix a few issues around duplicated import paths, fixes #2033 2024-11-25 00:53:09 +01:00
Dave Halter 41e9e957e7 Increase Jedi version 2024-11-11 02:39:18 +01:00
Dave Halter b225678a42 Add a release for Python 3.13 2024-11-10 23:04:28 +01:00
Dave Halter 30adf43a89 Merge pull request #2027 from WutingjiaX/feat/filterImported
Filter duplicate imports when completing
2024-10-17 21:10:55 +00:00
wutingjia be6df62434 filter imported names during completion 2024-10-17 19:20:39 +08:00
Dave Halter e53359ad88 Fix a test that had issues with a minor upgrade of Python 3.12 2024-10-16 12:56:10 +02:00
Dave Halter 6e5d5b779c Enable workflow_dispatch in CI 2024-10-16 12:39:33 +02:00
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
WutingjiaX 2859e4f409 Support inferring not expr to bool (#2016)
* support inferring some not expr

* format

---------

Co-authored-by: wutingjia <wutingjia@bytedance.com>
2024-07-12 12:58:39 +00:00
Dave Halter 8ee4c26ae4 Merge pull request #2014 from WutingjiaX/feat/in_operator
When inferring comparison operators, return a definite type instead of NO_VALUES for the in/not in operator
2024-07-10 18:03:32 +00:00
wutingjia 4d09ac07e4 When inferring comparison operators, return a definite type instead of NO_VALUES for the in/not in operator 2024-07-10 11:20:11 +08:00
Peter Law 82d1902f38 Merge branch 'python-3.13' 2024-07-06 11:39:06 +01:00
Peter Law 857c9be500 Ignore py__name__ issues for functools.partial in Python 3.13.0b3+
See https://github.com/davidhalter/jedi/issues/2012 for details.
2024-07-05 21:38:28 +01:00
Peter Law e839683e91 Merge branch 'ensure-unique-subprocess-reference-ids' 2024-07-04 22:39:29 +01:00
Peter Law 255186376e Cope with Python 3.13 moving pathlib's implementation
Jedi passes pickles to subprocesses which are running the target
version of Python and thus may not be the same as the version
under which Jedi itself is running. In Python 3.13, pathlib is
being refactored to allow for easier extension and has thus moved
most of its internal implementation to a submodule. Unfortunately
this changes the paths of the symbols, causing pickles of those
types to fail to load in earlier versions of Python.

This commit introduces a custom unpickler which accounts for this
move, allowing bi-directional passing of pickles to work.
2024-07-02 21:37:34 +01:00