Dave Halter
68be64b992
Use forward references because 3.8 is still a bit annoying
2026-03-26 23:31:24 +01:00
Dave Halter
9e582586fa
Merge testing and qa extras_require into dev
2026-03-26 23:22:39 +01:00
Dave Halter
9f91506947
Enable --strict and then disable some of the errors
2026-03-26 23:11:19 +01:00
Dave Halter
ffe4ae5877
Replace the mypy check with zuban check
2026-03-26 23:02:08 +01:00
Dave Halter
3176c1dcb8
A bit more solid typing for goto_or_help_or_infer
2026-02-16 22:54:32 +01:00
Dave Halter
ea09983566
Some small typing improvements for tests
2026-02-16 21:20:27 +01:00
Dave Halter
8cbb817b12
Fix a lot of test related typing issues
2026-02-10 19:38:55 +01:00
Dave Halter
6903bc25d5
Remove an outdated script
2026-02-10 19:02:51 +01:00
Dave Halter
e7fdbcc834
Fix a few more typing issues
2026-02-04 02:24:41 +01:00
Dave Halter
3ffed76884
Improve a weird typing issue
2026-02-04 01:28:30 +01:00
Dave Halter
30ef824abd
Introduce some stricter typing
2026-02-04 01:19:14 +01:00
Dave Halter
c7481b3319
Fix a linter issue
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
Dave Halter
4a7b5f4879
Increase the required vesion of parso
2026-01-19 17:08:11 +01:00
Dave Halter
d4fb9c4531
Move Mypy config to pyproject.toml
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
2026-01-19 14:47:06 +01:00
Dave Halter
2b37bc3518
Change the Zuban link to GitHub
2026-01-19 13:26:43 +01:00
Dave Halter
ade9131d04
Merge pull request #2083 from diekhans/issue-2082-None-file-attr
...
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
Handle object with __file__ attribute having a None value (issue #2082 )
2025-12-21 01:47:23 +00:00
Mark Diekhans
a89757a966
Handle object with __file__ attribute having a None value (issue #2082 )
2025-12-20 17:24:25 -08:00
Dave Halter
b80c0b8992
Merge pull request #2079 from Hoblovski/fix/star-unpack
...
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
Fix unhandled '*' operator in infer_node
2025-11-13 15:53:08 +00:00
Hoblovski
1b33f0d77c
fix: move test to arrays.py
2025-11-13 21:12:15 +08:00
Hoblovski
3454ebb1de
fix: let star_expr infer to NO_VALUES instead of crashing
2025-11-13 20:41:58 +08:00
Hoblovski
3d2ce2e01f
tests: add bad case
2025-11-13 20:33:00 +08:00
Dave Halter
88d3da4ef6
Merge pull request #2049 from Morikko/support-dataclass-transform
...
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
Support dataclass transform
2025-09-03 13:15:39 +00:00
Eric Masseran
15a7513fd0
Improve code comment
2025-08-29 18:54:30 +02:00
Eric Masseran
0f35a1b18b
Split dataclass and dataclass_transform logic
2025-08-29 18:54:14 +02:00
Eric Masseran
4ea7981680
Add complete test
2025-08-29 18:37:51 +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
86c3a02c8c
Fix pip install -e in docs
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
2025-06-24 12:28:18 +02:00
Dave Halter
f4ca099afb
Merge pull request #2066 from davidhalter/ci
...
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
Upgrade test runners, Mypy and flake8
2025-06-16 15:50:37 +00:00
Dave Halter
d411290dff
Upgrade Mypy
2025-06-16 16:49:46 +02:00
Dave Halter
7c27da8d68
Fix a few flake8 issues
2025-06-16 16:41:36 +02:00
Dave Halter
13063221f2
Upgrade flake8
2025-06-16 16:31:14 +02:00
Dave Halter
e83228478e
Upgrade other test runners
2025-06-16 16:21:50 +02:00
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
...
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
...
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
...
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
...
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
2024-11-25 09:49:44 +01:00
Dave Halter
ecb922c6ff
Fix a few issues around duplicated import paths, fixes #2033
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.10, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.11, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.12, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.13, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.6, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.7, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.8, windows-2019, 3.9) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.10) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.11) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.12) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.13) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.6) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.7) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.8) (push) Waiting to run
ci / tests (3.9, windows-2019, 3.9) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Waiting to run
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.10) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.11) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.12) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.13) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.6) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.7) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.8) (push) Waiting to run
ci / tests (interpreter, windows-2019, 3.9) (push) Waiting to run
ci / code-quality (push) Waiting to run
ci / coverage (push) Waiting to run
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
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
2024-11-10 23:04:28 +01:00
Dave Halter
30adf43a89
Merge pull request #2027 from WutingjiaX/feat/filterImported
...
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
ci / tests (3.10, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.6, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.6, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.7, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.7, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2019, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.6) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.7) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2019, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.6) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.7) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-20.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.6) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.7) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2019, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
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
Peter Law
a67deeb602
Fix race condition around subprocess inference state tidyup
...
There was a race condition due to the combination of Python's
object ids being re-usable and Jedi persisting such ids beyond
the real lifeteime of some objects. This could lead to the
subprocess' view of the lifetime of `InferenceState` contexts
getting out of step with that in the parent process and
resulting in errors when removing them. It is also possible
that this could result in erroneous results being reported,
however this was not directly observed.
The race was specifically:
- `InferenceState` A created, gets id 1
- `InferenceStateSubprocess` A' created, uses `InferenceState`
A which it stores as a weakref and an id
- `InferenceStateSubprocess` A' is used, the sub-process learns
about an `InferenceState` with id 1
- `InferenceState` A goes away, `InferenceStateSubprocess` A' is
not yet garbage collected
- `InferenceState` B created, gets id 1
- `InferenceStateSubprocess` B' created, uses `InferenceState` B
which it stores as a weakref and an id
- `InferenceStateSubprocess` B' is used, the sub-process re-uses
its entry for an `InferenceState` with id 1
At this point the order of operations between the two
`InferenceStateSubprocess` instances going away is immaterial --
both will trigger a removal of a state with id 1. As long as B'
doesn't try to use the sub-process again after the first removal
has happened then the second removal will fail.
This commit resolves the race condition by coupling the context
in the subprocess to the corresponding manager class instance
in the parent process, rather than to the consumer `InferenceState`.
See inline comments for further details.
2024-07-02 21:37:34 +01: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
Peter Law
340dedd021
Use an explicit mapping for locals in this test
...
In Python 3.13 the `locals` function now returns a fresh mapping
each time it's called (when called in a function). We thus need
to store a reference to the mapping being used, rather than
re-fetching it each time.
Since we don't actually need to modify the locals within the scope
of the test function itself, it suffices to use our own mapping
here rather than the result of calling `locals`, which fully
isolates this test from the nature of that function.
Fixes https://github.com/davidhalter/jedi/issues/2002
2024-07-02 21:37:34 +01:00
Peter Law
fff6e0ce2e
Drop unused member
...
I'm not sure where this was used in the past, however it appears
to be unused now. Removing this simplifies a change I'm about to
make to _InferenceStateProcess.
2024-07-02 21:37:34 +01:00
Peter Law
473b35e6ec
Ignore more items extra in Python 3.13
2024-07-02 21:37:34 +01:00
Peter Law
a0527a5af5
Pass through the inference state id rather than recomputing it
...
This removes some of the coupling between the management of the
underlying process and the inference state itself, which intends
to enable changing the origin of the id. This will be useful in
the next commit.
2024-07-02 21:37:34 +01:00
Peter Law
bbbaad21e8
Clarify filter by flipping the boolean logic
2024-07-02 21:37:34 +01:00
Peter Law
ee90cd97b6
Name this list of accepted symbol differences
...
This should make it easier to add new entries as well as clarifying
the intent of this filter.
2024-07-02 21:37:34 +01:00
Peter Law
68e435cc66
Update 'next' signature in Python 3.13 where it's been fixed
2024-07-02 21:37:34 +01:00
Dave Halter
b69d4d87c3
Merge pull request #2006 from PeterJCLaw/lint-tests
...
Enable linting of our test code, but not our test data files
2024-06-30 23:31:16 +00:00
Peter Law
0fcb4468e7
Fix or ignore lints in tests
2024-06-30 19:05:38 +01:00
Peter Law
5c578e1899
Enable linting of our test code, but not our test data files
2024-06-30 19:01:03 +01:00
Peter Law
9bad42c0db
Update actions/setup-python to avoid Node JS deprecations
2024-06-29 16:57:25 +01:00
Peter Law
3118462a93
Allow more recent version of pytest
...
pytest 7.x and 8.x work without changes.
2024-06-23 13:20:10 +01:00
Dave Halter
065580b5d4
Use the proper super call for setUp
2024-05-24 21:29:08 +02:00
Dave Halter
39c8317922
Merge pull request #1996 from frenzymadness/patch-2
...
Fix compatibility with pytest 8
2024-05-22 22:44:47 +00:00
Lumír 'Frenzy' Balhar
ab97e9f784
Fix compatibility with pytest 8
...
Fixes #1995
2024-05-22 23:13:19 +02:00
Dave Halter
f7c9ee9433
Merge pull request #1994 from HairlessVillager/patch-1
...
Add a windows path in `_get_executable_path()`
2024-05-06 10:06:18 +00:00
HairlessVillager
8792c6d432
Add a windows path in _get_executable_path()
2024-05-06 17:04:38 +08:00
pyscripter
a4574a50d0
Fix resolving of names that are not annotations ( #1989 ), fixes #1988
...
* Fix #1988
* Fix failing code quality test.
* Fix flake W504 line break after binary operator. Now as formatted by Black.
* Added test to test/completion/pep0484_basic.py
Addressed feedback from Dave
2024-04-25 09:11:24 +00:00
Dave Halter
f11014fc5d
Wording
2024-04-21 10:40:00 +02:00
Ehsan Iran-Nejad
54a6dadde3
properties with setters are now reported as 'property' for completion ( #1983 )
...
* properties with setters are now reported as 'property' for completion
* code cleanups
* fixed test
* fixed tests
* Revert "fixed test"
This reverts commit a80c955a48 .
* code quality cleanup
* so picky
* Revert "Revert "fixed test""
This reverts commit 58dfc5292e .
* updated test per maintainer comments #1983
* removed extra char
2024-02-19 12:07:47 +00:00
Dave Halter
740b474eda
Merge pull request #1907 from moser/support-fixtures-from-pytest-plugins
...
Add support for pytest fixtures from local pytest plugins.
2024-01-26 16:15:37 +00:00
Martin Vielsmaier
950ce70239
Prioritize conftest over plugins for pytest fixtures
2024-01-26 10:39:15 +01:00
Martin Vielsmaier
6982a49977
Fix codestyle
2024-01-24 13:11:26 +01:00
Martin Vielsmaier
9b8cece7ef
Improve pytest plugin loading
2024-01-23 20:54:21 +01:00
Martin Vielsmaier
162034b387
Fix line length.
2024-01-23 20:54:21 +01:00
Martin Vielsmaier
7494c9495e
Update contributors.
2024-01-23 20:54:21 +01:00
Martin Vielsmaier
7d77f61040
Add support for pytest fixtures from local pytest plugins.
2024-01-23 20:54:21 +01:00
Dave Halter
11280ef502
Merge pull request #1977 from HairlessVillager/master
...
[Typo] Fix some misalignment of docstrings
2023-12-28 10:20:12 +00:00
HairlessVillager
94ec4b873a
Fix some misalignment of docstrings
2023-12-28 13:26:12 +08:00
Dave Halter
f8e502f90c
Apparently read the docs also needs this
2023-10-04 09:41:55 +02:00
Dave Halter
dc20f2e5a0
Try to fix readthedocs
2023-10-04 09:40:41 +02:00
Dave Halter
4e175ca82b
Prepare for release 0.19.1
2023-10-02 10:55:17 +02:00
Dave Halter
30e9b7b5be
Merge pull request #1961 from PeterJCLaw/docs-link
...
Include a link to the docs in the package metadata
2023-09-23 23:56:11 +00:00
Peter Law
83545bc9ec
Include a link to the docs in the package metadata
2023-09-22 21:33:52 +01:00
Peter Law
57e7b83455
Add missing import
...
I suspect this got lost in a merge somewhere, probably the
combination of 7e533ca7e1 and the
Python 3.12 work in a60fdba1d4 .
2023-09-22 21:29:31 +01:00
Dave Halter
0770372857
Merge pull request #1956 from PeterJCLaw/python-3.12
...
Support Python 3.12
2023-09-17 19:25:45 +00:00
Peter Law
7e533ca7e1
Drop redundant conditional skips for unsupported Python versions
2023-09-17 18:38:12 +01:00
Peter Law
a60fdba1d4
Adjust for change to documention change of next in Python 3.12
...
The signature of the builtin isn't actually changing in Python 3.12,
however its documentation has changed.
2023-09-17 18:27:53 +01:00
Dave Halter
9d399a9229
Merge pull request #1959 from davidhalter/unpin-test-django
...
Unpin Django in tests
2023-09-17 12:37:00 +00:00
Peter Law
770cdade00
Claim support for Python 3.12
2023-09-16 21:41:06 +01:00
Peter Law
29890c1f29
Ignore linux-only os.CLONE_* constants in Python 3.12 in import test
2023-09-16 21:41:06 +01:00
Peter Law
159566e1a0
Add Python 3.12 as a tested platform
2023-09-16 21:41:06 +01:00
Peter Law
a80618a2df
Unpin Django in tests
...
It's not completely clear why this was pinned originally, though
at the time Jedi supported Python 2.7 as well as 3.5-3.8, so that
may have had something to do with it.
Removing this pin now seems to work in CI and unblocks some issues
we're seeing around Python 3.12 (specifically that Django<3.1
implicitly relies on distutils, which is no longer available by
default, and possibly other issues).
2023-09-16 21:40:34 +01:00
Peter Law
4bc1b6ef99
Bump use of actions/checkout to avoid Node JS deprecations
2023-09-16 18:12:28 +01:00
Peter Law
d655d65d3a
Fix typo in comment
2023-09-16 18:03:56 +01:00
Dave Halter
51f4a99a1e
Bump version to 0.19.0
2023-07-29 00:57:34 +02:00
Dave Halter
93c14d2e6e
Add release notes for 0.19.0
2023-07-29 00:46:38 +02:00
Dave Halter
57aefed6ea
Allow unsafe custom __getitem__ executions when allow unsafe executions is on
2023-07-29 00:33:09 +02: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
d8420d0f72
Add a note to the changelog
2023-07-28 22:59:03 +02:00
Dave Halter
886279fb6d
Try to use the return annotations of properties, if available, fixes #1933
2023-07-28 22:35:15 +02:00
Dave Halter
ff3a7f367f
Avoid evaluating properties just for the api type, improves #1933
2023-07-28 22:11:15 +02:00
Dave Halter
1f70e3301e
Revert "Avoid one layer of caching that is probably useless"
...
This reverts commit a34c348a55 .
2023-07-28 16:10:30 +02:00
Dave Halter
a34c348a55
Avoid one layer of caching that is probably useless
2023-07-28 16:05:56 +02:00
Dave Halter
972123c9c9
Introduce the property return annotation
2023-07-28 15:54:54 +02:00
Dave Halter
6455a14841
Avoid multiple getattrs instead of a single one, see also #1933
2023-07-28 15:10:37 +02:00
Dave Halter
8d9e3ab3a7
Simplify
2023-07-28 13:10:26 +02:00
Dave Halter
048173e467
Remove a piece of unimportant code, see discussion in #1933
2023-07-28 10:15:28 +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
6ea5ad7b19
Fix issue around completions with multiple with with_items, fixes 1931
2023-07-27 11:54:39 +02:00
Dave Halter
cd4ca74d7a
Satisfy flake8
2023-07-27 11:36:16 +02:00
Dave Halter
67d6262f45
Skip the namespace package test correctly
2023-07-27 10:07:16 +02:00
Dave Halter
5f19237a3e
Fix renaming of namespace packages, fixes #1779
2023-07-27 03:09:25 +02:00
Dave Halter
f2444b4be5
Merge pull request #1943 from diegorodriguezv/patch-1
...
Fix language servers reference
2023-06-22 08:44:15 +00:00
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
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
Dave Halter
3a30008cc4
Fix keyword argument completion, fixes #1856
2022-11-13 20:26:00 +01:00
Dave Halter
b0d5fc2bd0
Fix errors around docs of namespace packages, fixes #1890 , fixes #1822
2022-11-13 19:50:08 +01:00
Dave Halter
6e5db3f479
Fix a weird AttributeError, fixes #1765
2022-11-13 18:26:01 +01:00
Dave Halter
85780111e0
Use the latest grammar from parso for stubs, probably fixes #1864
2022-11-13 17:59:22 +01:00
Dave Halter
0ba48bbb9d
Fix an issue with creatin a diff, fixes #1757
2022-11-13 17:51:54 +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
78a53bf005
Change a test slightly
2022-11-12 13:59:07 +01:00
Dave Halter
8485df416d
Finally fix a Django test
2022-11-11 18:00:17 +01:00
Dave Halter
94e78340e1
Fix a formatting issue in CI
2022-11-11 17:54:57 +01:00
Dave Halter
f454989859
Now that ClassVars work differently fix a Django test
2022-11-11 17:52:35 +01:00
Dave Halter
e779f23ac7
Another small change towards tests
2022-11-11 17:50:05 +01:00
Dave Halter
3c40363a39
Remove another test that depends on specific pytest versions and is well covered by other tests
2022-11-11 17:47:02 +01:00
Dave Halter
a6cf2c338a
Remove part of a test that is annoying to develop
2022-11-11 17:44:49 +01:00
Dave Halter
2a7311c1a0
Remove some unrelated things from .gitignore again
2022-11-11 17:15:46 +01:00
Dave Halter
81427e4408
Add a note about pytest entrypoints in CHANGELOG
2022-11-11 17:01:11 +01:00
Dave Halter
804e4b0ca2
Merge pull request #1861 from qmmp123/master
...
Fix : #1847
2022-11-11 16:00:39 +00:00
Dave Halter
3475ccfbd3
Merge pull request #1870 from Presburger/master
...
fix autocomplete crash in ycmd
2022-11-11 15:50:10 +00:00
Dave Halter
9723a0eed0
Merge pull request #1879 from marciomazza/find-external-pytest-fixtures
...
Find external pytest fixtures
2022-11-11 15:46:40 +00:00
Dave Halter
658f80fa1e
Just pin all documentation generation dependencies
2022-11-11 16:36:23 +01:00
Dave Halter
31c2c508c3
Try to get jedi.readthedocs.org running again
2022-11-11 16:15:37 +01:00
Dave Halter
6c9cab2f8e
Merge pull request #1889 from AndrewAmmerlaan/master
...
python3.11 compatibility
2022-10-20 19:08:52 +00:00
Andrew Ammerlaan
0a6ad1010c
inference/compiled/subprocess/functions.py: Skip python3.11's frozen imports
...
Bug: https://github.com/davidhalter/jedi/issues/1858
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org >
2022-10-19 16:53:17 +02:00
Dave Halter
3a60943f6e
Merge pull request #1885 from asford/attrs_support
...
Extend dataclass constructor hinting to attrs next-gen apis.
2022-10-13 19:12:59 +00:00
Alex Ford
4d1e00c3ab
Skip if attrs not in target environment.
...
Add check for attrs in test environment and skip if not installed.
This is patterned off the existing django tests.
2022-10-13 00:43:29 -07:00
Alex Ford
e15f51ecc1
Remove mutable from attrs signature tests
2022-10-11 17:55:57 -07:00
Alex Ford
eaa66b3dbb
Update setup.py
2022-10-11 17:40:31 -07:00
Alex Ford
239d9e0b22
Add note to changelog
2022-10-11 17:40:31 -07:00
Alex Ford
40e1e3f560
Extend dataclass constructor hinting to attrs next-gen apis.
...
Trivially extends dataclass constructor hinting to attrs next-gen APIs.
This will stumble in cases where attrs extends beyond the standard
dataclasses API, such as complex use of defaults, converters, et al.
However, it likely covers the vast majority of cases which fall solidly
in the intersection of the two APIs.
Extension beyond these cases could use [PEP0681 dataclass_transforms],
however this is definitely a problem for another day.
[PEP0681 dataclass_transforms]: https://peps.python.org/pep-0681/
https://github.com/davidhalter/jedi/issues/1835
2022-10-11 17:40:31 -07:00
Marcio Mazza
c243608ac6
Add your name to AUTHORS.txt
2022-09-05 17:31:14 -03:00
Marcio Mazza
e25750ecef
Make code compatible with python < 3.8
2022-09-05 17:05:11 -03:00
Marcio Mazza
1a306fddbf
Fix check pytest fixture from import on the right context
2022-09-04 13:12:13 -03:00
Marcio Mazza
ec425ed2af
Add tests to find pytest fixtures from external plugins
2022-09-03 17:16:32 -03:00
Marcio Mazza
fa1e9ce9a7
Simplify entry points enumeration
2022-09-03 17:16:32 -03:00
Marcio Mazza
8447d7f3e4
Discard imports of modules as pytest fixtures
2022-09-03 17:16:32 -03:00
Marcio Mazza
27e13e4072
Allow for multiple returns from goto_import
2022-09-03 17:16:32 -03:00
Marcio Mazza
9fd4aab5da
Find pytest fixtures from external plugins registered via setuptools entry points
...
Using setuptools entry points is probably the main pytest mechanism of
plugin discovery.
See https://docs.pytest.org/en/stable/how-to/writing_plugins.html#setuptools-entry-points
This extends the functionality of #791
and maybe eliminates the need for #1786 .
2022-09-03 17:16:32 -03:00
Dave Halter
8b0d391ac1
Merge pull request #1876 from marciomazza/fix-skipped-tests-due-to-python-symlinks
...
Fix skipped collection of pytest integration test files
2022-09-03 12:36:01 +00:00
Marcio Mazza
fa0c064841
Fix skipped collection of pytest integration test files
...
On integration tests file collection,
the value of `environment.executable` can also be a symlink
(e.g. in a virtualenv) with a different name than,
but pointing to the same as `sys.executable`
(e.g. .../bin/python3.10 and .../bin/python, respectively).
That causes skipping the collection of `completion/pytest.py`
and `completion/conftest.py` a lot of times, depending on the environment.
(e.g. "60 skipped" before x "23 skipped" after, in a local virtualenv)
2022-09-02 14:23:38 -03:00
Dave Halter
9e2089ef1e
Merge pull request #1875 from marciomazza/fix-test-home-is-potential-project
...
Fix test where home could be a potential project
2022-09-02 09:19:52 +00:00
Marcio Mazza
85c7f14562
Fix test where home could be a potential project
2022-09-01 13:01:27 -03:00
Dave Halter
695f0832b4
Merge pull request #1871 from xzz53/fix-gitignore
...
Improve .gitignore handling
2022-08-22 09:59:53 +00:00
Mikhail Rudenko
cfb7e300af
Improve .gitignore handling
...
At present, .gitignore patterns not starting with '/' are classified
as "ignored names" (opposing to "ignored paths") and not used for
filtering directories. But, according to the spec [1], the situation
is a bit different: all patterns apply to directories (and those
ending with '/' apply to directories only). Besides that, there two
kinds of patterns: those that match only w.r.t the directory where
defining .gitignore is located (they must contain a '/' in the
beginning or in the middle), which we call "absolute", and those that
also match in all subdirectories under the directory where defining
.gitignore is located (they must not contain '/' or contain only
trailing '/'), which we call "relative".
This commit implements handling of both "absolute" and "relative"
.gitignore patterns according to the spec. "Absolute" patterns are
handled mostly like `ignored_paths` were handled in the previous
implementation. "Relative" patterns are collected into a distinct set
containing `(defining_gitignore_dir, pattern)` tuples. For each
traversed `root_folder_io`, all applicable "relative" patterns are
expanded into a set of plain paths, which are then used for filtering
`folder_io`s.
While at it, also fix some minor issues. Explicitly ignore negative
and wildcard patterns, since we don't handle them correctly
anyway. Also, use '/' as a path separator instead of `os.path.sep`
when dealing with .gitignore, since the spec explicitly says that '/'
must be used on all platforms.
[1] https://git-scm.com/docs/gitignore
2022-08-21 21:50:29 +03: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
Dave Halter
7ff0d2d595
Merge pull request #1867 from timgates42/bugfix_typos
...
docs: Fix a few typos
2022-07-15 07:36:27 +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
c0ac341750
Replace some type comments with annotations
...
This was necessary, back when we supported Python 3.5
2022-05-26 23:09:28 +02:00
Dave Halter
486695d479
Merge pull request #1851 from GalaxySnail/pep604
...
Add a naive implementation for PEP 604
2022-05-13 12:31:54 +02:00
GalaxySnail
8cb1b76ea4
Fix typo
2022-04-14 04:02:20 +08:00
GalaxySnail
e7755651a4
Add some tests for PEP 604
2022-04-14 03:32:43 +08:00
GalaxySnail
0c7384edc3
A naive implementation for PEP 604
2022-04-14 03:32:12 +08:00
Dave Halter
8f15f38949
Revert a change for Python 2.7 compatibility (see also e267f63657)
2021-12-25 14:08:44 +01:00
Dave Halter
96af7e4077
The Python 3.6 requirement is now the lowest supported version
2021-12-25 13:37:35 +01:00
Dave Halter
929fa9b452
Fix a small issue in overload tests
2021-12-25 13:18:58 +01:00
Dave Halter
08c5ab821f
Merge pull request #1826 from PeterJCLaw/fix-1801-typed-decorator-on-instance-method
...
Make typed decorators work for instance methods
2021-12-13 02:05:55 +01:00
Peter Law
b6f761f13c
Make typed decorators work for instance methods
...
This feels incomplete when compared to FunctionMixin.py__get__,
however seems to work at least in the cut-down reported.
Fixes https://github.com/davidhalter/jedi/issues/1801 .
2021-12-12 18:18:55 +00:00
Peter Law
72cf41f4c9
Lambdas in comprehensions need parentheses in Python > 3.8
...
Fixes https://github.com/davidhalter/jedi/issues/1824 .
2021-12-12 18:17:53 +00:00
Dave Halter
3602c10916
Merge pull request #1821 from tomaarsen/patch-1
...
Typo in docstring of `extract_variable`
2021-11-17 13:44:08 +01:00
Dave Halter
601bfb3493
The readthedocs option submodules should not be part of the Python option
2021-11-17 13:39:21 +01:00
Dave Halter
021f081d8a
Submodules should be part of the readthedocs build
2021-11-17 13:38:03 +01:00
Dave Halter
54af6fa86d
Try to fix docs dependencies
...
Docs were not building on read the docs, see also: https://github.com/sphinx-doc/sphinx/issues/9788
2021-11-17 13:33:41 +01:00
Tom Aarsen
f193ae67e9
typo: "statemenet" -> "statement"
2021-11-17 12:59:13 +01:00
Dave Halter
fae26fa7a4
Last preparations for v0.18.1
2021-11-17 01:44:27 +01:00
Dave Halter
a276710f66
Merge pull request #1820 from davidhalter/changes
...
Some Changes for 0.18.1
2021-11-17 01:42:55 +01:00
Dave Halter
aa8eed8da4
Merge pull request #1819 from jerluc/master
...
Adds support for "async with" via #1818
2021-11-17 01:36:53 +01:00
jerluc
b2e647d598
Removing invalid test for async with open(...)
...
See explanation in https://github.com/davidhalter/jedi/pull/1819#issuecomment-970776091
2021-11-16 16:12:43 -08: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
8bc9c8cda2
Fix an issue where a slice is indexed, fixes #1748
2021-11-17 00:14:59 +01:00
Dave Halter
a17b958078
Fix infer_default for params in REPL, fixes #1738
2021-11-16 23:36:22 +01:00
Dave Halter
656ecf502d
Prepare CHANGELOG for 0.18.1
2021-11-16 23:27:01 +01:00
Dave Halter
b846043117
Add 3.10 to the supported Python versions
2021-11-16 23:19:21 +01:00
Dave Halter
6fa91726bf
Fix a test in Python 3.10 that's not really important anyway
2021-11-16 23:08:05 +01:00
Dave Halter
42508d9309
Fix fixture annotations for pytest
...
This means mostly these:
@fixture
def foo() -> Generator[int, None, None]: ...
2021-11-16 22:57:25 +01:00
jerluc
8847848a03
Adds support for "async with" via #1818
2021-11-16 13:00:24 -08:00
Dave Halter
8bd969c24a
Upgrade pytest
2021-11-16 21:51:03 +01:00
Dave Halter
458bb30884
Yaml got me again
2021-11-16 21:46:00 +01:00
Dave Halter
515e07227b
Try to enable Python 3.10 in CI
2021-11-16 21:44:29 +01:00
Dave Halter
6cb5804227
Revert "Upgrade Django"
...
This reverts commit 195695edd3 .
2021-11-16 21:32:15 +01:00
Dave Halter
e580d1f4d9
Fix a stub docs issue
2021-11-16 21:27:00 +01:00
Dave Halter
195695edd3
Upgrade Django
2021-11-16 21:10:12 +01:00
Dave Halter
42c5276e04
Merge pull request #1800 from Boerde/pytest_improve_fixture_completion
...
Improve completion for pytest fixtures
2021-11-16 21:09:35 +01:00
Dave Halter
bb5bed4937
Merge pull request #1805 from kirat-singh/support_nested_namespace_packages
...
fix(import): support for nested namespace packages
2021-10-09 15:20:59 +02:00
Kirat Singh
d872eef1a7
chore: remove unnecessary for loop
2021-10-06 13:15:20 +00:00
Kirat Singh
53e837055f
fix(import): support for nested namespace packages
...
If multiple directories in sys.path provide a nested namespace
package, then jedi would only visit the first directory which
contained the package. Fix this by saving the remaining path list in
the ImplicitNamespaceValue and add a test for it.
2021-10-02 04:09:27 +00:00
Dave Halter
65bc1c117b
Merge pull request #1795 from frenzymadness/patch-1
...
inspect now raises OSError for objects without source file
2021-09-02 11:22:08 +02:00
Lumír 'Frenzy' Balhar
eab1b8be8b
inspect now raises OSError for objects without source file
...
CPython issue: https://bugs.python.org/issue44648
2021-09-01 20:50:54 +02:00
boerde
3cf98f6ba1
paramters with annotation do not need special pytest handling
2021-08-29 09:17:04 +02:00
boerde
8808b5b64b
added test to override fixture return value with annotation
2021-08-29 09:14:29 +02:00
Laurent Soest
fe50352f9c
annotations should be preferred even when it is a generator
2021-08-28 21:04:57 +02:00
Laurent Soest
96b4330ef9
testing: added test to override generator with annotation
2021-08-28 21:02:45 +02:00
Dave Halter
1d944943c3
Merge pull request #1794 from PeterJCLaw/fix-quoted-generic-forward-refs
...
Fix quoted generic annotations
2021-07-25 20:02:38 +02:00
Peter Law
78a95f4751
Handle generics appearing within any quoted annotations
...
This hoists the solution added for return-type annotations to
also apply for input annotations so they work too.
2021-07-25 16:31:27 +01:00
Peter Law
599a1c3ee1
Handle generics appearing within quoted return annotations
...
This ensures that these quoted likely forwards references in
return type annotations behave like their non-quoted equivalents.
I suspect there may be other places which will need similar
adjustments, which may mean that we should push the conversion
a layer closer to the parsing (perhaps in `py__annotations__`?).
One case I know that this doesn't solve (but which likely needs
similar adjustment) is generics in return types of comment-style
annotations. They're less likely and may not be worth supporting
since all supported Python versions can use the in-syntax spelling
for annotations at this point.
2021-07-25 15:32:22 +01:00
Peter Law
6814a7336c
Hoist common variable for additional re-use
2021-07-25 15:23:51 +01:00
Dave Halter
070f191f55
Merge pull request #1663 from PeterJCLaw/tidyups
...
Tidyups
2021-07-25 13:44:55 +02:00
Dave Halter
11e67ed319
Merge pull request #1793 from PeterJCLaw/fix-functools-wraps-module-scope
...
Fix module-scope passthrough function signatures
2021-07-25 13:43:00 +02:00
Peter Law
ab2eb570a8
Use search_ancestor for a more robust search
2021-07-24 17:27:27 +01:00
Peter Law
aa265a44e1
Have all py__file__ methods return a Path
2021-07-24 17:14:25 +01:00
Peter Law
25a3e31ca8
Add a __repr__
2021-07-24 17:12:34 +01:00
Peter Law
87388ae00f
Drop dead line
2021-07-24 17:12:34 +01:00
Peter Law
2d11e02fdb
Remove redundant invalid documentation line
...
This is now replaced by the type signature.
2021-07-24 17:12:34 +01:00
Peter Law
392dcdf015
Fix potential bug passing exception to function excepting str
...
Found while adding type annotations.
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
Peter Law
6ad62e18d2
deque is in collections, not queue
...
Though it seems that the queue module does use it internally, which
is why this was working.
2021-07-24 17:12:34 +01:00
Peter Law
6787719c28
Ensure *args, **kwargs lookthrough works at module scope too
...
This means that passthrough signatures will be found for top level
functions, which is useful both where they're wrappered by
`functools.wraps` or not.
Fixes https://github.com/davidhalter/jedi/issues/1791 .
2021-07-24 16:58:34 +01:00
Peter Law
bb40390225
Add identifiers to these test strings
...
This makes it easier to work out which one fails when pytest
reports a failure. Mostly useful when introducing failing tests,
which I'm about to do.
2021-07-24 16:15:41 +01:00
Peter Law
0d15347210
Remove confusing comment
...
I'm assuming that this is incorrect given that there _are_ arguments
where the comment suggests there aren't any.
2021-07-24 16:14:20 +01:00
Dan Rosén
41652507b3
Fix grammar in features.rst
2021-05-06 00:38:19 +02:00
Dave Halter
41fb6a0cde
Merge pull request #1772 from josephbirkner/bugfix/zip-complete
...
Fixed ZIP import completion.
2021-04-29 23:56:14 +02:00
Joseph Birkner
a340fe077e
Fixed ZIP completion.
2021-04-29 09:52:08 +02:00
Dave Halter
dcea842ac2
Revert "Upgrade django-stubs, fixes #1750 "
...
This reverts commit ce5619cabb .
2021-02-26 23:09:22 +01:00
Dave Halter
ce5619cabb
Upgrade django-stubs, fixes #1750
2021-02-26 22:30:09 +01:00
Dave Halter
0eb6720c11
Some Python objects suck, fixes #1755
2021-02-26 21:58:47 +01:00
Dave Halter
ee30843f22
Merge pull request #1741 from sfavazza/master
...
BUGFIX: endless loop in pytest plugin
2021-02-01 00:41:40 +01:00
Samuele FAVAZZA
613cb08325
BUGFIX: prevent an infinite loop seeking for a "conftest.py" file
2021-01-30 16:31:26 +01:00
Aivar Annamaa
9f41153eb2
Allow tweaking Interpreter sys_path ( #1734 )
2021-01-23 14:38:10 +01:00
Dave Halter
387d73990b
Fix issues with getitem on compiled objects that have annotations, see #1719
2021-01-17 13:48:22 +01:00
Dave Halter
47d0318fa6
Paths are the default for modules
2021-01-14 02:00:14 +01:00
Dave Halter
7555dc0d45
Get rid of cast_path
2021-01-14 01:39:51 +01:00
Dave Halter
2a8b212af7
Move the module_injector
2021-01-14 01:35:18 +01:00
Dave Halter
837cb1106a
Use Path instead of str if possible
2021-01-14 01:32:57 +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
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
44d77523b3
Fix a test that depended on correct cwd location an dnot having an x.py in a local directory
2021-01-10 16:31:37 +01:00
Dave Halter
6279791b24
Fix an issue with complete_search
2021-01-10 16:08:17 +01:00
Romain Rigaux
4597c7ebe7
Fix typo in docstring
2021-01-09 10:56:22 +01:00
Dave Halter
e6f18df1d2
unsafe -> not safe
2021-01-03 01:13:17 +01:00
Dave Halter
3428a24af0
Remove an outdated comment
2021-01-02 23:41:38 +01:00
Dave Halter
7a3d1f7cee
Run CI on pull request
2021-01-02 23:40:14 +01:00
Dave Halter
8ef2ce232c
Hopefully fix a Windows issue
2021-01-02 18:11:59 +01:00
Dave Halter
4ab7a53c19
Fix a compatibility issue for Python < 3.8
2021-01-02 17:37:30 +01:00
Dave Halter
c5fb2985a3
Use clearly defined project for tests to avoid scanning the 2000 typeshed files all the time
2021-01-02 15:31:57 +01:00
Dave Halter
ca2c732d66
PNGs are not text and should not be normalized
2021-01-02 12:27:24 +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
55c7e4eb49
Stdlib modules should not be included in the get_references search, fixes davidhalter/jedi-vim#792
2021-01-02 00:58:50 +01:00
Dave Halter
7d160f96f6
Do not show signatures for properties, fixes #1695
2021-01-01 23:51:41 +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
36ea6b3285
Change an import
2021-01-01 05:19:37 +01:00
Dave Halter
85f45771f1
Fix typing.NewType signature
2021-01-01 04:22:52 +01:00
Dave Halter
30e702de11
Generics don't have signatures
2021-01-01 04:09:49 +01:00
Dave Halter
778442a972
Type aliases should not have a signature
2021-01-01 03:59:28 +01:00
Dave Halter
4f34712858
Fix signatures for TypeVar and cast, fixes #1709
2021-01-01 03:59:12 +01:00
Dave Halter
d821451a64
Upgrade typeshed
2021-01-01 03:18:49 +01:00
Dave Halter
92d96ac336
actually use auto_import_modules correctly
2021-01-01 02:59:42 +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
Dave Halter
0f128c6deb
Fix nested comprehension contexts, fixes #1691
2020-12-27 21:09:00 +01:00
Dave Halter
8373ef079f
Remove an unnecessary comment
2020-12-26 22:43:47 +01:00
Dave Halter
227cbde169
Merge branch 'master' of github.com:davidhalter/jedi
2020-12-26 18:02:05 +01:00
Dave Halter
1f06e6f0c9
name the ci workflow in the hope that badges will then be displayed
2020-12-26 17:57:38 +01:00
Dave Halter
2d3b8ac8df
Merge pull request #1715 from davidhalter/github-actions
...
Use GitHub Actions
2020-12-26 12:56:20 +01:00
Dave Halter
fa6072b4fa
Change Python test order in CI
2020-12-26 12:39:37 +01:00
Dave Halter
aae2f7c49a
Change badges from Travis/Appveyor to GitHub Actions
2020-12-26 12:37:04 +01:00
Dave Halter
52443daf12
Fix another Windows test on 3.8
2020-12-26 12:19:59 +01:00
Dave Halter
86d57edda4
Some Windows compatibility fixes
2020-12-26 11:52:47 +01:00
Dave Halter
7298350e76
Standardize line separator
2020-12-26 04:27:06 +01:00
Dave Halter
3184264b3b
Try to fix windows
2020-12-26 04:16:32 +01:00
Dave Halter
d4a1657b2e
Better error reporting
2020-12-26 04:03:19 +01:00
Dave Halter
bea401912f
Hopefully fix Actions configuration
2020-12-26 03:42:33 +01:00
Dave Halter
3e4070bbb3
Enable Windows 2019
2020-12-26 03:35:28 +01:00
Dave Halter
3d7ad50f57
Remove travis and appveyor configs in favor of github action
2020-12-26 03:33:22 +01:00
Dave Halter
85ec94cf65
Fix pytest issues, fixes #1699
2020-12-26 03:32:17 +01:00
Dave Halter
0cc5c974f6
Try to improve GH Actions
2020-12-26 01:43:29 +01:00
Dave Halter
6f76bb945a
GH actions, checkout recursive submodules
2020-12-26 01:14:17 +01:00
Dave Halter
239a3730a6
Try to add Github Actions
2020-12-26 01:03:03 +01:00
Dave Halter
8740ff2691
Ignore the mypy cache for searching folders
2020-12-25 17:35:28 +01:00
Dave Halter
4b5b2e791b
Prepare release of 0.18.0
2020-12-25 11:06:15 +01:00
Dave Halter
b89f9445c2
Merge pull request #1684 from davidhalter/relative-import
...
Relative imports should work even if they are not within the project
2020-12-22 23:18:46 +01:00
Dave Halter
ce6ddb91de
Merge pull request #1711 from davidhalter/deprecations
...
Remove Deprecations
2020-12-21 22:49:09 +01:00
Dave Halter
fe60b5ca13
Fix flake8 issues in sith.py
2020-12-12 12:45:27 +01:00
Dave Halter
fa2d03a4fb
Mention removal of deprecations in CHANGELOG
2020-12-12 12:32:29 +01:00
Dave Halter
1b16ca0e2e
Add sith.py to the files to be ignored by pytest
2020-12-12 12:25:22 +01:00
Dave Halter
f9cec89038
Merge branch 'master' into deprecations
2020-12-12 12:17:25 +01:00
Dave Halter
bc4f6ed9dd
Merge branch 'master' into relative-import
2020-12-12 12:15:13 +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
ce0ed4b8ae
Improve a comment
2020-12-10 16:57:09 +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é
6dcae857a7
Remove 'test_get_parent_dir_with_file'
2020-12-07 14:50:04 -03:00
Dave Halter
34792c0077
Merge pull request #1707 from Carreau/fix-1702
...
Add tests for #1702 , for a rare numpydoc syntax.
2020-12-07 15:07:53 +01:00
Dave Halter
6df463b1e3
Merge pull request #1704 from infokiller/expose-comp-prefix-len
...
add Completion.get_completion_prefix_length
2020-12-07 14:44:01 +01:00
Matthias Bussonnier
4740178bdf
Not all nodes have children, protect agaisnt it.
2020-12-06 18:11:49 -08:00
Matthias Bussonnier
06d6776422
Add tests for #1702 , for a rare numpydoc syntax.
...
It looks like numpydoc, and things like masked array docstrings use a
syntax that make jedi crash:
fill_value : {var}, optional
Value used internally for the masked values.
If ``fill_value`` is not None, it supersedes ``endwith``.
Here we add a test that we do not crash jedi.
2020-12-06 18:08:51 -08:00
Yoni Weill
1095820006
add tests for get_completion_prefix_length
2020-12-06 21:09:03 +02:00
Adrian Labbé
47e60107b2
Add tests for 'test_get_parent_dir_with_file' and 'test_is_potential_project'
2020-12-06 15:26:20 -03: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
69750b9bf0
Add Python 3.9 to the testsed environments
2020-10-24 13:40:19 +02: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
98d0a55a02
Add a few more tests for annotations on self
2020-10-23 23:32:28 +02:00
Dave Halter
6eabde1519
Fix annotations on self attributes, fixes #1681
2020-10-23 23:26:07 +02:00
Dave Halter
a4f45993f8
Simplify some things, so something like #1678 does not happen again
2020-10-23 21:38:39 +02:00
Dave Halter
49e35497ae
Stop subclassing CompiledName, potentially fixes #1667
2020-10-23 21:28:08 +02:00
Dave Halter
bf310c780c
Fix a recursion on imports, fixes #1677
2020-10-23 21:04:36 +02:00
Dave Halter
e671a0cb6d
Fix an error with enums, fixes #1675
2020-10-23 20:25:00 +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
43ff2833f3
Make a test more reliable
2020-10-23 18:04:47 +02:00
Dave Halter
5f2f4af851
Update test/test_inference/test_imports.py
...
Co-authored-by: Peter Law <PeterJCLaw@gmail.com >
2020-10-21 22:32:33 +02:00
Dave Halter
bf56103428
Update jedi/inference/imports.py
...
Co-authored-by: Peter Law <PeterJCLaw@gmail.com >
2020-10-21 22:32:24 +02:00
Dave Halter
78e87d0ab8
Relative imports should work even if they are not within the project
2020-10-20 01:00:22 +02:00
anki-code
04572422d4
Xonsh shell has jedi extension ( #1674 )
...
* xonsh shell has jedy extension
* jedin in xonsh shell usage
* and many more! :)
2020-09-29 00:12:48 +02:00
Dave Halter
cb55b45d47
Catch an OSError on Windows
2020-09-19 22:13:45 +02:00
Dave Halter
e3fedb52f1
Remove an unused import
2020-09-19 21:40:01 +02:00
Dave Halter
c1f4e7d874
One interpreter test is different for 3.9+
2020-09-19 21:27:55 +02:00
Dave Halter
4082728c32
Revert "Add the Python 3.9 environment"
...
This reverts commit 39fe9a1979 .
2020-09-19 21:22:38 +02:00
Dave Halter
66e2a0fce4
implict_reexport needs to be True for parso
2020-09-19 21:15:03 +02:00
Dave Halter
39fe9a1979
Add the Python 3.9 environment
2020-09-19 20:58:03 +02:00
Dave Halter
f18493b627
Fix an interpreter test
2020-09-19 20:57:32 +02:00
Dave Halter
fa2abb5ff6
Add mypy cache to gitignore
2020-09-19 20:36:54 +02:00
Dave Halter
5b81abd537
Mention different language servers in README
2020-09-19 20:36:19 +02:00
Dave Halter
01b2e8e6b8
Merge pull request #1669 from mvanderkamp/patch-1
...
make contextualized_node an optional kwarg in ReversedObject
2020-09-19 20:31:50 +02:00
Mvdk
ff439039da
make contextualized_node an optional kwarg
...
In all other py__iter__ definitions that I found, this argument is optional. It also often seems to not be passed around. I'm not sure why it was deemed mandatory here despite not being used.
2020-09-14 10:27:19 -06:00
Dave Halter
216f976fd5
Add a .readthedocs.yml to make sure that it's properly pip installed before the documentation is built
2020-08-06 00:12:50 +02:00
Dave Halter
e617c9d344
Formatting
2020-08-05 23:55:46 +02:00
Dave Halter
58ef6cd36b
if_stmt test clauses should be resolved at the start of the if_stmt
2020-08-05 23:55:46 +02:00
Dave Halter
abf63d73d3
Basic implementation support for namedexpr, fixes #1647
2020-08-05 23:55:46 +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
209e2713fd
Remove the requirements file and require latest parso
2020-08-05 00:55:57 +02:00
Dave Halter
f12ed2088a
Use pathlib for file ios, because the new parso is out
2020-08-05 00:52:50 +02:00
Dave Halter
94bf83c826
Revert Django changes in a9e2cd5a74
...
This was probably an accident in #1646
2020-08-05 00:18:24 +02:00
Peter Law
cce3ecb1e4
Use the default handling of optionals
...
This is strict handling, but allows implicit declarations.
2020-08-04 21:49:42 +01:00
Dave Halter
10aa21f970
Merge branch 'master' of github.com:davidhalter/jedi
2020-08-04 18:29:26 +02:00
Dave Halter
425287055b
Merge pull request #1646 from Carreau/warnings
...
Turn print into warning to simplify silencing them.
2020-08-04 14:47:57 +02:00
Matthias Bussonnier
a9e2cd5a74
Reformat and move imports to top level.
2020-08-03 08:24:24 -07:00
Dave Halter
2f7d0ec42c
Project attributes are now read accessible
2020-08-01 18:26:26 +02:00
Matthias Bussonnier
20be4f02c8
Turn print into warning to simplify silencing them.
2020-07-27 11:28:05 -07:00
Peter Law
6364dd1511
Add explicit Optional annotation
...
This isn't a mypy issue -- there's no way it could otherwise know
that this `None` value is in fact an optional callable.
2020-07-26 14:43:41 +01:00
Peter Law
19b8eaea59
Link mypy issue
2020-07-26 13:26:14 +01: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
Peter Law
45c90efb5c
Remove a couple of unused imports
2020-07-26 12:17:54 +01:00
Peter Law
0571e12617
These attributes aren't optional
...
They just don't yet have a value.
2020-07-26 12:11:34 +01:00
Peter Law
86e0e16625
Drop redundant rtype comment
...
This is better expressed as an annotation.
2020-07-26 12:10:59 +01:00
Peter Law
b3edda30c4
Explain why we 'type: ignore' these properties
2020-07-26 12:09:04 +01:00
Dave Halter
9d1587a41d
Don't need to inherit from object anymore
2020-07-26 00:11:57 +02:00
Dave Halter
e593396417
Merge pull request #1641 from PeterJCLaw/pydoc-data-python3.6-embedable
...
Python 3.6 embeddable doesn't have pydoc_data
2020-07-25 01:05:38 +02:00
Peter Law
a9cb9fbb1f
Give a bit more detail here
2020-07-24 21:06:30 +01:00
Peter Law
3f74981d5e
Also typecheck sith
2020-07-24 21:06:30 +01:00
Peter Law
38f853cf86
Add ignores for stdlib imports only recently added
2020-07-24 21:06:30 +01:00
Peter Law
4b7e837f0f
Configure the package root as implicit exports
2020-07-24 20:25:55 +01:00
Peter Law
a2d9fbcd42
Ignore this runtime-only import
...
I've queried this in https://github.com/python/typeshed/issues/4360 ,
though I suspect the answer is going to be to have an ignore comment
like this.
2020-07-24 20:25:55 +01:00
Peter Law
6315709fea
Inherit from base class to placate mypy
2020-07-24 20:25:55 +01:00
Peter Law
48e5aa777b
Annotate potentially missing import
2020-07-24 20:25:55 +01:00
Peter Law
69be26b16e
Change subclass to function wrapper
...
This avoids mypy complaining that we need to provide a generic
argument to Popen, which we cannot acctually do as the implementation
of Popen does not inherit from typing.Generic.
2020-07-24 20:25:55 +01:00
Peter Law
5e509814f7
Ignore mypy not coping with decorated properties
2020-07-24 20:25:55 +01:00
Peter Law
07fbcd2262
Make this explicitly expect a Path
2020-07-24 20:25:55 +01:00
Peter Law
1c87ae378d
This is a Path now
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
9b3cd15c5f
Fix type clash
2020-07-24 16:10:34 +01:00
Peter Law
1418aada91
Annotate top level items mypy needs annotating
2020-07-24 16:10:34 +01:00
Peter Law
f98a9f7999
Annotate the completions cache
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
Peter Law
c09e21ae4b
Configure mypy
...
No fixes yet, this just gets the config in place.
Note: I'm assuming that we'll pick up a change to parso such that
it exposes its type stubs here. Otherwise we'll want to tweak the
imports config to ignore those errors.
2020-07-24 16:10:34 +01:00
Peter Law
480c352d33
Python 3.6 embeddable doesn't have pydoc_data
...
This reinstates the import check for pydoc_data for now.
Specifically I looked in the following:
- python-3.6.8-embed-amd64.zip: missing pydoc_data
- python-3.7.8-embed-amd64.zip: present
- python-3.8.5-embed-amd64.zip: present
2020-07-24 16:07:48 +01:00
Dave Halter
8f167be980
Merge branch 'master' of github.com:davidhalter/jedi
2020-07-23 01:33:06 +02:00
Dave Halter
e86afc1705
_cropped_file_size should be an int, fixes #1639
2020-07-23 01:32:37 +02:00
Dave Halter
7423c65eb5
Merge pull request #1638 from PeterJCLaw/update-flake8
...
Update flake8
2020-07-22 09:28:08 +02:00
Peter Law
b651c6541a
Configure travis' flake8 call more explicitly
...
I'm basing this on '{posargs:jedi}' looking like it was a tox thing,
which we're no longer using.
2020-07-21 23:15:20 +01:00
Peter Law
403564315c
Reflow test to ensure trailing space is preserved
...
Many editors strip trailing space, so avoid using a multiline
string where the space is actually needed.
2020-07-21 22:44:43 +01:00
Peter Law
5e6138d16f
Update to flake8 3.8.x
...
In particular this improves support for detecting usage of various
type annotation usages and adds support for correctly parsing
type: ignore comments which contain a reason tag.
2020-07-21 21:34:58 +01:00
Peter Law
6ef18bea50
Make this noqa more specific
2020-07-21 21:34:37 +01:00
Peter Law
9505dabfef
Reflow for linting
2020-07-21 21:32:22 +01:00
Peter Law
4783c065da
Configure editors for uniform whitespace handling
2020-07-21 21:26:46 +01:00
Dave Halter
bb303a75c0
Fix a test
2020-07-20 23:58:46 +02:00
Dave Halter
1e633ab8ed
Remove the requirements file, it should not be necessary
2020-07-20 02:19:55 +02:00
Dave Halter
89f525407a
Remove the deprecation tests
2020-07-20 02:06:17 +02:00
Dave Halter
d7d42c8e39
Rewrite the deprecation handling
2020-07-20 02:04:31 +02:00
Dave Halter
abb2250bf5
Remove all deprecations
2020-07-20 02:02:41 +02:00
Dave Halter
ae2becb531
Merge branch 'pytest'
...
This completely removes tox from Jedi.
2020-07-20 01:46:43 +02:00
Dave Halter
14069e81fd
Remove speed tests, they were only flaky and didn't really provide a value anymore
2020-07-20 01:43:29 +02:00
Dave Halter
401e8d3100
Fix issues with property searches
2020-07-20 01:40:25 +02:00
Dave Halter
e7c2c85b9f
Try to fix issues with the qa and coverage steps
2020-07-20 01:29:38 +02: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
10c4dbf785
Try to get rid of tox and test directly with pytest
2020-07-19 14:58:17 +02:00
Dave Halter
7281302281
The defaults for find_system_environments and get_system_environment were wrong
...
This happened, because of the migration to Python 3 only.
2020-07-19 14:35:40 +02:00
Dave Halter
27603f9780
Reenable a test for nested imports
2020-07-19 13:57:52 +02:00
Dave Halter
d9a90d5d5e
Remove a test that no longer made sense
2020-07-19 13:55:18 +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
5bc174bf8d
Start writing CHANGELOG for the next release
2020-07-18 17:00:45 +02:00
Dave Halter
89f070ea98
Mention the mailing list instead of the github issue for updates
2020-07-17 22:35:14 +02:00
Dave Halter
04d24acb5a
Merge branch 'python3'
2020-07-17 21:58:26 +02:00
Dave Halter
3b7106ae71
Fix a typo
2020-07-17 21:56:13 +02:00
Dave Halter
74116fe2ea
Prepare for 0.17.2
2020-07-17 21:39:36 +02:00
Dave Halter
1233caebdc
Fix a Python 3.9 issue on travis
2020-07-17 16:13:23 +02:00
Dave Halter
d78567f853
Fix a Python 3.9 issue on travis
2020-07-17 16:12:55 +02:00
Dave Halter
1ece7698c2
Merge branch 'master' into python3
2020-07-17 16:07:54 +02:00
Dave Halter
7851dff915
Properly negate with Interpreter, fixes #1636
2020-07-17 15:57:32 +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
d63fbd8624
Merge pull request #1633 from mrclary/mrclary-fix-wingkinl-patch-python-environ
...
Fix for #1630
2020-07-17 11:26:02 +02:00
Ryan Clary
b0f664ec94
* reflect default Popen behavior by inheriting os.environ
...
* without passing env_vars to create_environment, GeneralizedPopen behavior is same as before fix to issue #1540 (803c3cb271 )
* env_vars allows explicit environment variables, per PR #1619 (f9183bbf64 )
2020-07-16 19:04:33 -07:00
Dave Halter
9957374508
Fix dict completions for inherited dicts, fixes #1631
2020-07-14 17:50:12 +02:00
Dave Halter
7f3a7db7e6
Refactor Interpeter completions a bit
2020-07-12 22:26:57 +02:00
Dave Halter
3ffe8475b8
Make sure the interpreter completions work better in Jupyter Notebook, fixes #1628
2020-07-12 22:20:06 +02:00
Dave Halter
396d7df314
Fix an issue with interpreter completion, see also #1628
2020-07-12 22:02:00 +02:00
Dave Halter
0c618a4456
Making sure to note that Python 2 will not be supported after 0.17.2
2020-07-12 21:22:36 +02:00
Dave Halter
c4c36d8e2e
Mention in Changelog that 3.9 is now supported
2020-07-12 19:44:48 +02:00
Dave Halter
829dda3ee9
Fix another windows issue
2020-07-12 11:18:35 +02:00
Dave Halter
a16f52b9fb
Fix some Windows related issues with absolute paths
2020-07-12 11:13:37 +02:00
Dave Halter
a49c062b35
Properly support Python3.9
2020-07-12 01:58:13 +02:00
Dave Halter
da15e916de
Fix a doctest
2020-07-12 01:37:41 +02:00
Dave Halter
480a464179
Implement all remaining Path issues and use it instead of strings
2020-07-12 01:14:00 +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
92af043906
Fix some subprocess issues
2020-07-02 18:39:24 +02:00
Dave Halter
806ad06d6a
Use raise from instead of weird magic
2020-07-02 16:14:53 +02:00
Dave Halter
dac1fb0a06
Get rid of a few Python 2 things
2020-07-02 16:00:26 +02:00
Dave Halter
ec08506704
Remove getstate and setstate, because they are not needed anymore
2020-07-02 15:55:31 +02:00
Dave Halter
7bcb420a0a
Delete a weird comment
2020-07-02 12:33:19 +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
a0de93a638
Remove super arguments
2020-07-02 10:59:59 +02:00
Dave Halter
216ce8726c
Move GeneralizedPopen
2020-07-02 10:54:32 +02:00
Dave Halter
0c1ba1b305
Move the importing of modules out of compatibility
2020-07-02 10:51:49 +02:00
Dave Halter
5ab351dc8f
Remove unicode literals from code base
2020-07-02 10:43:14 +02:00
Dave Halter
f1366b8a74
Remove the u() unicode function
2020-07-02 10:35:39 +02:00
Dave Halter
7f67324210
Remove a lot more Python 2 mentions and todos
2020-07-02 10:30:58 +02:00
Dave Halter
a51f667be8
Cleanse the API from Python 2 stuff
2020-07-02 10:24:44 +02:00
Dave Halter
f7b445353f
Remove Python 2 compatibility functions
2020-07-02 10:14:12 +02:00
Dave Halter
46154a3ee7
Remove an unnecessary print
2020-07-02 03:35:24 +02:00
Dave Halter
0790f376ca
Some Python 2 removals
2020-07-02 03:34:44 +02:00
Dave Halter
332631434c
Remove some unnecessary utf-8 references
2020-07-02 03:30:41 +02:00
Dave Halter
8ee0c8593e
Remove unicode usages
2020-07-02 03:26:22 +02:00
Dave Halter
5a912de937
Remove a few unicode references in tests
2020-07-02 03:18:48 +02:00
Dave Halter
ef96c4c66b
Remove __future__ usages
2020-07-02 03:15:07 +02:00
Dave Halter
155a1dd3fc
A mistaken deletion in appveyor
2020-07-02 03:12:03 +02:00
Dave Halter
65601b6532
Remove compatibility code from getattr_static
2020-07-02 03:09:47 +02:00
Dave Halter
6e4dfda727
Fix a minor issue
2020-07-02 03:08:07 +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
188fdcd34f
Remove the skip_python2 fixture
2020-07-02 02:52:24 +02:00
Dave Halter
f4e537fd72
Remove a lot of sys.version_info references
2020-07-02 02:49:35 +02:00
Dave Halter
cfd8eb23b8
Remove all_suffixes from _compatibility
2020-07-02 02:32:02 +02:00
Dave Halter
57c7d61989
importlib is needed
2020-07-02 02:30:49 +02:00
Dave Halter
db28eee760
Remove py__version__
2020-07-02 02:30:16 +02:00
Dave Halter
0cd6a8f5cc
Remove is_py3 and is_py35
2020-07-02 02:23:33 +02:00
Dave Halter
17343bb57c
Remove some more Python 3.5 references
2020-07-02 02:18:16 +02:00
Dave Halter
182e1e864c
Remove _no_python2_support
2020-07-02 02:05:16 +02:00
Dave Halter
782c561e86
Fix the compatibility docstring
2020-07-02 02:03:34 +02:00
Dave Halter
9838040ca3
Fix a TODO
2020-07-02 01:56:23 +02:00
Dave Halter
eea35ffc31
Remove supported Pythons from environments
2020-07-02 01:52:44 +02:00
Dave Halter
b639e7fd11
Fixed a minor error with removing of force_unicode
2020-07-02 01:51:06 +02:00
Dave Halter
2c1e591718
Remove python 3.5 from appveyor
2020-07-02 01:47:57 +02:00
Dave Halter
49e4b1a0f8
Remove force_unicode
2020-07-02 01:47:21 +02:00
Dave Halter
ebfc330e86
Remove the unused utf8_repr function
2020-07-02 01:32:17 +02:00
Dave Halter
e597dcc8fd
Remove a Python 2 file
2020-07-02 01:30:34 +02:00
Dave Halter
07fc1ef837
Remove the pickle compatibility stuff
2020-07-02 01:29:54 +02:00
Dave Halter
a25e192ff9
Remove shutil.which compatibility
2020-07-02 01:19:12 +02:00
Dave Halter
e6a748b1a7
Fix some directory issues
2020-07-02 01:17:35 +02:00
Dave Halter
227cf00638
Remove the __builtin__ compatibility
2020-07-02 01:15:29 +02:00
Dave Halter
a9d32fbc99
Remove literal_eval compatibility
2020-07-02 01:10:46 +02:00
Dave Halter
b5e0c1e9c6
Remove compatibility for zip_longest
2020-07-02 01:08:57 +02:00
Dave Halter
2aec4678da
Remove compatibility for IsADirectoryError PermissionError NotADirectoryError
2020-07-02 01:07:06 +02:00
Dave Halter
f9a35ae42a
Remove FileNotFoundError compatibility
2020-07-02 01:05:13 +02:00
Dave Halter
0538a3e224
Remove Python 2 import hacks
2020-07-02 01:01:25 +02:00
Dave Halter
64516f1b45
Remove DummyFile
2020-07-02 00:59:36 +02:00
Dave Halter
1dc83115be
Remove use_metaclass
2020-07-02 00:58:30 +02:00
Dave Halter
c651109b9a
Remove _compatibility.reraise
2020-07-02 00:56:30 +02:00
Dave Halter
1df98c5bd6
Remove no_unicode_pprint
2020-07-02 00:54:17 +02:00
Dave Halter
aab9fd2fbe
Remove queue compatibility
2020-07-02 00:52:26 +02:00
Dave Halter
4e2ca9e5fd
Remove some pickle compatibility
2020-07-02 00:50:58 +02:00
Dave Halter
395f7fc59e
Remove inspect.Parameter compatibility
2020-07-02 00:44:25 +02:00
Dave Halter
4c557d4050
Remove finalize from compatibility
2020-07-02 00:40:38 +02:00
Dave Halter
86eb48a89b
Remove unwrap compatibility
2020-07-02 00:40:08 +02:00
Dave Halter
3262ad4350
Remove the scandir compatibility
2020-07-02 00:38:44 +02:00
Dave Halter
fb34df3987
Remove a way for using imp to load Jedi in a subprocess
2020-07-02 00:37:09 +02:00
Dave Halter
23db298e2f
Removed various 3.3/3.4/3.5 references
2020-07-02 00:34:27 +02:00
Dave Halter
9d5acf3c53
Remove the has_typing fixture
2020-07-02 00:26:28 +02:00
Dave Halter
7e295d05a1
Remove some more Python 2/3.5 references
2020-07-02 00:25:00 +02:00
Dave Halter
50b85153ce
Remove a lot of test references to Python 2/3.5
2020-07-02 00:17:21 +02:00
Dave Halter
0e5869b52f
Remove 2.7/3.5 from docs
2020-07-02 00:04:22 +02:00
Dave Halter
d67dfba7f5
Remove Python 2.7/3.5 support
2020-07-02 00:00:46 +02:00
Dave Halter
a3a9ae1a26
Add download badge
2020-06-27 15:15:34 +02:00
Dave Halter
e41b966283
Some test skips
2020-06-27 03:10:24 +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
Dave Halter
4846848a1e
Fix an issue with decoratee names
2020-06-27 02:18:31 +02:00
Dave Halter
344fef1e2f
Add Project.path, fixes #1622
2020-06-27 02:18:31 +02:00
Dave Halter
bc23458164
Fix the of a signature with a decorator
2020-06-27 02:18:31 +02:00
Dave Halter
9a54e583e7
Fix docstrings for method decorators, fixes #1621
2020-06-27 02:18:31 +02:00
Dave Halter
59ccd2da93
Make partial use the __doc__ of its function, fixes #1621
2020-06-27 02:18:31 +02:00
Dave Halter
737c1e5792
Merge pull request #1614 from PeterJCLaw/fix-decorator-factory-passthrough
...
Support passing values through decorators from factories
2020-06-26 13:29:58 +02:00
Peter Law
f72adf0cbc
Switch to much simpler solution for preserving unbound type vars
...
Co-Authored-By: Dave Halter <davidhalter88@gmail.com >
2020-06-26 11:23:35 +01:00
Peter Law
5184d0cb9c
Support passing values through decorators from factories
...
This builds on the approach taken in https://github.com/davidhalter/jedi/pull/1613
but applies it to type vars themselves so that their type var
nature is preserved when a function returns Callable[[T], T] and
the T has an upper bound.
2020-06-26 11:22:19 +01:00
Peter Law
2d0258db1a
Add tests for class-style decorator factories
2020-06-26 11:19:51 +01:00
Dave Halter
f5e6a25542
Merge pull request #1623 from mallamanis/master
...
Add __matmul__ to supported operators.
2020-06-26 12:10:00 +02:00
Miltos
bc5a8ddf87
Add __matmul__ to supported operators.
2020-06-25 17:35:07 +01:00
Dave Halter
eabddb9698
Remove a print
2020-06-24 01:29:50 +02:00
Dave Halter
6fcdc44f3e
Typeshed third party libraries should not be loaded if they don't actually exist in the environment, fixes #1620
2020-06-24 01:08:04 +02:00
Dave Halter
0d1a45ddc1
Add the env_vars change to CHANGELOG
2020-06-22 00:13:57 +02:00
Dave Halter
f9183bbf64
Merge pull request #1619 from mrclary/subprocess-env-vars
...
Provide option to pass explicit environment variables to Environment and CompiledSubprocess
2020-06-22 00:11:18 +02:00
Ryan Clary
7ec8454fc1
* Provide option to pass environment variables to Environment and CompiledSubprocess (subprocess.Popen)
...
* Extend this option to find_system_enviornments and get_system_environment without breaking API
2020-06-21 08:08:32 -07:00
Dave Halter
a3410f124a
Make sure that Callables are properly represented
...
See also comment of https://github.com/davidhalter/jedi/pull/1614#issuecomment-647054740
2020-06-21 01:31:58 +02:00
Peter Law
3488f6b61d
Add Python 3.8 to the tox env list ( #1618 )
2020-06-20 16:18:32 +02:00
Dave Halter
3dad9cac6b
Use Python 3 in the deployment script
2020-06-20 01:19:01 +02:00
Dave Halter
7aa13e35e9
Prepare release 0.17.1
2020-06-20 00:39:09 +02:00
Dave Halter
cf1b54cfe5
Make sure the current version doesn't install a parso version that is new
2020-06-16 21:39:17 +02:00
Dave Halter
8669405a1c
Small changelog improvement
2020-06-16 08:53:02 +02:00
Dave Halter
54775acc7a
Mention Django Manager support for managers/querysets in changelog
2020-06-16 08:52:19 +02:00
Dave Halter
be184241fd
Add SyntaxError.get_message
2020-06-16 08:51:54 +02:00
Dave Halter
61ad05d511
Mention 3.9 support better
2020-06-16 08:42:18 +02:00
Dave Halter
1872ad311b
Fix decorator param completion
2020-06-15 00:34:55 +02:00
Dave Halter
364d33119c
Merge branch 'django'
2020-06-14 22:24:31 +02:00
Dave Halter
1702a6340e
Document a special case in Django a bit better
2020-06-14 22:23:08 +02:00
Dave Halter
4ab35cac7b
Merge branch 'master' of github.com:davidhalter/jedi
2020-06-14 18:11:50 +02:00
Dave Halter
21f1df18b6
Fix some issues with sub class matching, fixes #1560
2020-06-14 18:10:00 +02:00
Dave Halter
8ea4c0589c
Merge pull request #1613 from PeterJCLaw/fix-1425-1607-typevar-wrap-functions-and-classes
...
Handle passing functions and classes through a TypeVar
2020-06-14 18:01:48 +02:00
Dave Halter
1d1c0ec3af
Better debugging output for is_sub_class_of
2020-06-14 17:55:53 +02:00
Peter Law
7e637c5e5e
Python 2 compatible super()
2020-06-14 16:27:39 +01:00
Peter Law
4f11f20e1d
Add a signature check for decorated functions
...
Specifically where the decorator is type annotated.
2020-06-14 16:24:42 +01:00
Dave Halter
674e0114a5
Ignore runtime_checkable, because we don't really need it
2020-06-14 14:14:47 +02:00
Peter Law
1f082b69d2
Handle passing functions and classes through a TypeVar
...
This fixes #1425 and #1607 by persisting the original underlying
function or class when we process a TypeVar they are passed into.
2020-06-13 23:28:20 +01:00
Dave Halter
9de5ab2037
Make it possible to complete on QuerySet methods, fixes #1587
2020-06-13 20:55:37 +02:00
Dave Halter
3415ccbb73
Add support for Django signatures, fixes parts of #1587
2020-06-13 16:18:47 +02:00
Dave Halter
b165596a6e
Avoid doing a call twice for now reason
2020-06-13 14:25:52 +02:00
Dave Halter
089a4713e3
Fix a small extract_variable issue, fixes #1611
2020-06-13 01:35:58 +02:00
Dave Halter
365d725bc1
Fix a small issue that was inadvertently changed
2020-06-13 00:26:12 +02:00
Dave Halter
7586900fd9
Merge branch 'master' into django
2020-06-12 20:04:28 +02:00
Dave Halter
c4de9ae2d3
Use a customized django-stubs
2020-06-12 19:30:49 +02:00
Dave Halter
3a0a484fcb
Try to get get the tests for Python 3.9 passing, fixes #1608
2020-06-10 09:54:32 +02:00
Dave Halter
df7dd026d2
Make it possible to use inheritance on generics without always specifying type vars, see also discussion in #1593
2020-06-10 09:54:32 +02:00
Dave Halter
a2108de2c0
Use py__get__ for Django Model.objects
...
This includes the fix in https://github.com/typeddjango/django-stubs/pull/394
2020-06-09 23:26:43 +02:00
Dave Halter
6d0d75c7d9
@publish_method should provide arguments
2020-06-09 22:37:50 +02:00
Dave Halter
d4f0424ddc
Move py__getitem__ from Class to ClassMixin
2020-06-08 00:58:38 +02:00
Dave Halter
cd6113c2c3
Move with_generics and define_generics to ClassMixin
2020-06-08 00:11:45 +02:00
Dave Halter
c9a21adc5f
Make sure py__get__ is applied properly for Django metaclasses
2020-06-07 15:01:12 +02:00
Dave Halter
9adcf3d233
Make sure meta class filters can distinguish between classes and instances
2020-06-07 14:54:26 +02:00
Dave Halter
34cc8e9ad7
Properly handle __get__ in properties/partials
2020-06-07 14:18:45 +02:00
yuan
cf923ec6de
Update MANIFEST.in
2020-06-07 12:01:56 +02:00
Dave Halter
105c097fea
Merge branch 'django-custom-object-manager' of https://github.com/PeterJCLaw/jedi into django
2020-06-06 01:24:24 +02:00
Dave Halter
574b790296
Make it possible to use inheritance on generics without always specifying type vars, see also discussion in #1593
2020-06-06 01:23:14 +02:00
Dave Halter
3870253b56
Make sure that scopes can only be exact values, see #1590
2020-06-05 23:04:39 +02:00
Dave Halter
21a380f7cb
Merge pull request #1590 from muffinmad/references-scope
...
Get references in the current module only
2020-06-05 19:21:34 +02:00
muffinmad
404661f361
Replace Script by timedelta in the test
2020-06-05 17:44:59 +03:00
muffinmad
1e58f9a15c
Test both named params are found
2020-06-05 15:28:22 +03:00
Dave Halter
24236be3ce
Fix a small issue with doctest completions, fixes #1585
2020-06-05 13:35:36 +02:00
muffinmad
8705149619
Use pytest.mark.parametrize
2020-06-03 17:20:23 +03:00
muffinmad
782dedd439
Get references in the current module only
2020-06-03 16:35:28 +03:00
muffinmad
f9bbccbc13
Pycodestyle configuration section moved to setup.cfg
2020-06-03 15:24:37 +03:00
Michał Górny
cecdaa98ae
Exclude more Linux constants in test_import
...
The list of differences have grown again in Python 3.9. Instead of
increasing the allowed count let's filter out more Linux-specific
constants. This probably makes it possible to reduce allowed
len(difference) too.
2020-06-02 23:04:50 +02:00
Dave Halter
9980f760b1
Merge pull request #1601 from yuan-xy/patch_3
...
add test case to fix code example in doc
2020-05-31 11:14:58 +02:00
yuan
5946a5cd8c
Refactoring about checking \r\n ( #1603 )
2020-05-31 11:13:30 +02:00
yuan_xy
32687474db
add test case to fix code example in doc
2020-05-31 11:00:15 +08:00
yuan
98a8b6c76c
fix typo ( #1602 )
2020-05-30 12:04:15 +02:00
yuan
ca08365a81
fix typo
2020-05-28 21:29:34 +02:00
Dave Halter
8239328e42
Merge pull request #1599 from isidentical/py38-plus-setuppy
...
Upgrade setup.py's version parsing for 3.8+
2020-05-28 21:18:51 +02:00
Batuhan Taskaya
b9131c6070
Upgrade setup.py's version parsing for 3.8+
2020-05-28 15:26:48 +03:00
muffinmad
1c342d36e5
Don't goto while building found_names for the current file
...
But goto for all non_matching_reference_maps items later
2020-05-24 22:58:04 +03:00
Dave Halter
2d672d2f28
Merge pull request #1595 from PeterJCLaw/operator-not-in
...
Explicitly handle `a not in b` operator comparison
2020-05-23 14:48:40 +02:00
Peter Law
c62cbd6654
Explicitly handle a not in b operator comparison
...
This avoids a `KeyError` from operator_to_magic_method lookup for
this case. Jedi probably could check for `__contains__` here, however
as it doesn't do so for `in` checks I'm following that lead for now.
Fixes https://github.com/davidhalter/jedi/issues/1594 .
2020-05-23 12:49:53 +01:00
Peter Law
c36904d983
Support custom managers in Django models
...
For the moment this support is limited to just Model.objects
replacements and does not use the custom manager for ForeignKey
related managers.
2020-05-22 12:33:03 +01:00
Peter Law
669b70b2cd
Validate instance methods on Django models
2020-05-22 12:32:14 +01:00
muffinmad
7459d67fee
Test local references in some other cases
2020-05-22 13:24:39 +03:00
muffinmad
741097827d
Get references in the current module only
2020-05-21 19:51:13 +03:00
muffinmad
4ceca54138
Specify max-line-length for pycodestyle
...
According to CONTRIBUTING.md it can be 100
2020-05-21 17:31:44 +03:00
Christopher Cave-Ayland
860d5e8889
Import FileNotFoundError from jedi._compatibility
2020-05-21 11:45:52 +02:00
Dave Halter
64d131060c
Merge pull request #1586 from PeterJCLaw/django-more-fields
...
Support more Django model fields
2020-05-19 00:39:27 +02:00
Peter Law
b7cdec427e
Support OneToOneFields
2020-05-18 22:19:20 +01:00
Peter Law
df66b35444
Support UUIDFields
2020-05-18 22:11:31 +01:00
Peter Law
cd9f2f31ea
Support URLFields
2020-05-18 22:10:48 +01:00
Peter Law
b54d7433c7
Support GenericIPAddressFields
2020-05-18 22:10:09 +01:00
Dave Halter
855fb5a936
Fix potential AttributeError in get_defintion_start_position/get_defintion_end_position, see #1584
2020-05-18 19:21:04 +02:00
Dave Halter
8fdf16b316
Fix an error of get_definition_end_pos, see #1584
2020-05-18 01:44:51 +02:00
Dave Halter
fa6194c0a9
Refactor test_definition_start_end_position to use parametrize
2020-05-18 01:41:07 +02:00
Dave Halter
2d17b81313
definition_end_position -> get_definition_end_position, same for start, see #1584
2020-05-18 01:18:22 +02:00
Dave Halter
cb1730f628
Merge pull request #1584 from pappasam/get_definition_position
...
Add BaseName.definition_[start,end]_position
2020-05-18 01:14:00 +02:00
Sam Roeca
d848047012
Add unit tests for definition_[start,end]_position
2020-05-17 11:48:28 -04:00
Sam Roeca
716beae455
Add BaseName.definition_[start,end]_position
...
Provides two public (property) methods getting the (row, column) of the
start / end of the definition range. Rows start with 1, columns start
with 0.
:rtype: Tuple[int, int]
2020-05-16 15:08:36 -04:00
Dave Halter
d16355fcf2
Fix tests in Python 2
2020-05-16 17:47:33 +02:00
Dave Halter
cd3d40a3b8
Fix a small issue
2020-05-16 15:42:15 +02:00
Dave Halter
b3fc10a6e4
Magic methods fixes for reverse methods
2020-05-16 15:39:48 +02:00
Dave Halter
09dbbc6361
lists and tuples should not be added
2020-05-16 15:10:47 +02:00
Dave Halter
f5ad561c51
Use __truediv__ instead of __div__
...
This ignores Python 2, but that shouldn't be an issue, since we are going to drop it anyway.
2020-05-16 14:57:57 +02:00
Dave Halter
0db50b521d
Fix an issue with Tuple generics
2020-05-16 14:55:59 +02:00
Dave Halter
9942a3d44c
A few class renames
2020-05-16 14:35:15 +02:00
Dave Halter
47637c147c
Better debugging
2020-05-16 14:31:31 +02:00
Dave Halter
2fb072532a
Skip another non-important Python 2 test that fails on Windows
2020-05-16 01:25:15 +02:00
Dave Halter
70aa7fc917
Fix a namespace issue when getting references
2020-05-16 01:05:39 +02:00
Dave Halter
384b2ad014
Fix an about dict completions
2020-05-16 00:46:46 +02:00
Dave Halter
f2975f9a05
Fix a None issue
2020-05-16 00:27:14 +02:00
Dave Halter
41c146a6f3
Implement magic method return values, fixes #1577
2020-05-15 23:53:44 +02:00
Dave Halter
be594f1498
Remove an unused cache method
2020-05-15 23:53:44 +02:00
Dave Halter
99eba4e0eb
Undefined api types should not return a random value
2020-05-15 23:53:44 +02:00
Peter Law
43806f8668
Add support for generic optional parameters ( #1559 )
...
* Add support for generic optional parameters
* Tests for passing non-optional arguments to optional parameters
* Remove now-redundant is_class_value handling
This parameter has since been removed from infer_type_vars methods,
much simplifying the code.
2020-05-15 19:56:03 +02:00
Dave Halter
d4aa583e16
Fix inline case where a name was removed without the code being used, fixes #1582
2020-05-14 23:08:37 +02:00
Dave Halter
381fbeda6a
Make the diff nicer if there is no ending newline, fixes #1581
2020-05-14 00:20:20 +02:00
Dave Halter
3104443212
Merge pull request #1579 from muffinmad/pseudotreenameclass
...
Return 'class' as _PseudoTreeNameClass.type (fix #1578 )
2020-05-13 18:59:05 +02:00
muffinmad
16e2b86bcf
Fix test
2020-05-13 01:18:47 +03:00
Dave Halter
0caee73975
Merge pull request #1572 from davidhalter/classvar
...
Remove is_class_value from infer_type_vars
2020-05-12 23:56:03 +02:00
Dave Halter
7f25e28d89
Fix tuple issue in 3.6
2020-05-12 23:33:06 +02:00
muffinmad
ce8473ee63
Add author's name to AUTHORS.txt
2020-05-12 23:34:28 +03:00
muffinmad
7ccee7d8fc
Add test _PseudoTreeNameClass.type == 'class'
2020-05-12 23:28:46 +03:00
muffinmad
7cd89cff6e
Return 'class' as BaseName.type of _PseudoTreeNameClass ( fix #1578 )
2020-05-12 23:14:32 +03:00
Vlad Serebrennikov
e1c0d2c501
Reduce noise in signatures of compiled params ( #1564 )
...
* Remove "typing." prefix from compiled signature param
* Don't print default "None" for Optional params
* Don't remove 'typing.' prefix if symbol doesn't come from typing module
* Revert "Don't print default "None" for Optional params"
This reverts commit 8db334d9bb .
* Make sure "typing." doesn't appear in the middle
* Make sure only "typing." prefix is removed and not it's entries in the middle
* Use inspect.formatannotation() to create an annotation string
* Update AUTHORS.txt
* Add test for compiled param annotation string
* Replace Optional in test with other typing facilities
in order for test to be forward-compatible with 3.9
* Add an empty string fallback for Python 2
* Move _annotation_to_str back to original position
2020-05-10 13:33:36 +02:00
Dave Halter
be7a1346ec
Fix #1573 again; a tree_node can be None
2020-05-10 13:29:58 +02:00
Dave Halter
6dbc5e783e
Fix argument clinic unpacking, remove dynamic bullshit
2020-05-10 13:27:20 +02:00
Max Mäusezahl
1115cbd94d
This fixes two issues with the caching on Windows:
...
* the cache directory should really be %LOCALAPPDATA%
* ~ is not a meaningful directory on Windows. It should really be
os.path.expanduser('~'). To be honest it is probably always safe to
assume that os.getenv('LOCALAPPDATA') executes to something sensible
on any Windows system that hasn't been tampered with.
2020-05-10 11:46:29 +02:00
Dave Halter
bf4ec2282f
Fix getattr completions on very weird cases, fixes #1573
2020-05-10 11:37:58 +02:00
Dave Halter
e6e43413ff
Any -> AnyClass
2020-05-10 03:17:52 +02:00
Dave Halter
e9a0c01af8
TypedDictBase -> TypedDictClass
2020-05-10 03:17:07 +02:00
Dave Halter
d0270b5e59
DefineGenericBase -> DefineGenericBaseClass
2020-05-10 03:07:40 +02:00
Dave Halter
b57654aed3
Rename some classes to make it clearer that they are classes
2020-05-10 03:04:52 +02:00
Dave Halter
78ad06612e
Remove an unused import
2020-05-10 03:00:47 +02:00
Dave Halter
434866558a
Instances should not need get_generics
2020-05-10 02:59:54 +02:00
Dave Halter
42963a0e03
By having get_annotated_class_object for Tuple/Callable, some details are not necessary anymore
2020-05-10 02:52:42 +02:00
Dave Halter
c2d1da09cb
Make sure that Tuple/Callable instances have the correct py__class__
2020-05-10 01:05:55 +02:00
Dave Halter
f362932ec5
Return a more correct py__class__ for typing base objects
2020-05-09 16:28:05 +02:00
Dave Halter
3b48c76e4a
Make a function private
2020-05-09 00:49:37 +02:00
Dave Halter
d56f607f35
Reinstate an if that was deleted by mistake
2020-05-09 00:13:18 +02:00
Dave Halter
39a2cd8aa2
Fix a potential issue with tuples
2020-05-08 18:07:15 +02:00
Dave Halter
14ca8e6499
Add a comment
2020-05-08 18:00:35 +02:00
Dave Halter
2a227dcc7a
Remove is_class_value from infer_type_vars
2020-05-08 17:49:02 +02:00
Dave Halter
12090ce74b
Fix tests
2020-05-08 15:18:23 +02:00
Dave Halter
25973554e2
Remove the common folder and move it to a common file
2020-05-08 13:23:56 +02:00
Dave Halter
138c22afe9
Remove common.value
2020-05-08 13:18:01 +02:00
Dave Halter
d19535340c
Move infer_type_vars to base_value
2020-05-08 13:13:26 +02:00
Dave Halter
5fcbed721d
Merge pull request #1554 from PeterJCLaw/fix-nested-tuple-argument
...
Fix handling of nested tuple arguments
2020-05-08 12:49:44 +02:00
Sam Roeca
812776b9ce
Add .venv to _IGNORE_FOLDERS
...
".venv" is a popular virtual environment folder name; project.search
gets really mucked up when it isn't ignored.
2020-05-05 21:15:18 +02:00
Dave Halter
d606ea6759
Correct a test
2020-04-27 09:59:38 +02:00
Dave Halter
c314e1c36e
Speed up signature fetching for MixedName, see discussion in #1422
2020-04-27 01:53:42 +02:00
Dave Halter
8c7a883abd
Test that the actual signature of a function is used in Interpreter
2020-04-27 01:47:06 +02:00
Peter Law
55facaaf3d
Switch back to using execute_annotation
...
get_annotated_class_object is (sort-of) the inverse of execute_annotation,
so adding a get_annotated_class_object to implement execute_annotation
specifically for Tuples didn't make much sense.
2020-04-26 14:39:39 +01:00
Peter Law
17ca3a620f
Merge branch 'master' into fix-nested-tuple-argument
2020-04-26 13:56:14 +01:00
Dave Halter
9836a1b347
Very small refactoring
2020-04-26 12:47:44 +02:00
Peter Law
8c3fd99009
Tell sith that goto_assignments is now goto
2020-04-26 02:15:53 +02:00
Dave Halter
4d9cb083ac
Merge pull request #1561 from PeterJCLaw/newtype-pyclass
...
Support accessing the py__class__ of a NewType
2020-04-26 02:15:17 +02:00
Peter Law
612fd23777
Support accessing the py__class__ of a NewType
...
The test here is a bit contrived, the actual place I found this
was in using a NewType as a type within a NamedTuple. However due
to https://github.com/davidhalter/jedi/issues/1560 that currently
also fails for other reasons. This still feels useful to fix on
its own though.
2020-04-26 00:59:07 +01:00
Dave Halter
dca505c884
Merge pull request #1553 from PeterJCLaw/generic-tuple-return
...
Fix construction of nested generic tuple return types
2020-04-26 01:28:51 +02:00
Dave Halter
7fd5c8af8f
Allow files for get_default_project, fixes #1552
2020-04-26 00:33:10 +02:00
Dave Halter
97fb95ec0c
Don't display unnecessary help, fixes #1557
2020-04-26 00:21:01 +02:00
Dave Halter
e6d8a955d2
Pin Django in a different way so tests can work everywhere
2020-04-25 23:25:51 +02:00
Dave Halter
a3a147f028
Make sure that Django's values/values_list is tested (though not implemented
2020-04-25 22:55:29 +02:00
Dave Halter
c761dded35
Properly implement inheritance for Django models
2020-04-25 22:55:29 +02:00
Dave Halter
92623232c3
Make sure Django User inference works
2020-04-25 22:55:29 +02:00
Dave Halter
9b58bf6199
Pin the Django test dependency
2020-04-25 22:55:29 +02:00
Dave Halter
9d5eb28523
Mention django stubs support in README
2020-04-25 22:55:29 +02:00
Dave Halter
857e0fc00e
Include Django stubs license in Jedi package
2020-04-25 22:55:29 +02:00
Dave Halter
bf8b58aeeb
Some more django query tests
2020-04-25 22:55:29 +02:00
Dave Halter
f6803bce2c
Infer many to many fields
2020-04-25 22:55:29 +02:00
Dave Halter
6bff30fbbb
Include Django stubs as a third party repo
2020-04-25 22:55:29 +02:00
Dave Halter
6d927d502e
Make sure that infering the Django User model works
2020-04-25 22:55:29 +02:00
Dave Halter
2e1284f044
Fix a recursion error issue
2020-04-25 22:55:29 +02:00
Dave Halter
11eb4f8fde
Remove unused imports
2020-04-25 22:55:29 +02:00
Peter Law
c19c13e2c6
Apply tuple-only filtering to apply more broadly
2020-04-24 16:44:25 +01:00
Peter Law
891383f8dc
Use get_annotated_class_object over execute_annotation
2020-04-24 16:32:00 +01:00
Peter Law
ce1ac38cde
Implement get_annotated_class_object for Tuples
2020-04-24 16:25:19 +01:00
Peter Law
df951733cd
Rename variable to placate mypy
2020-04-24 12:45:05 +01:00
Josh Bax
912fe68069
Fix typos in api.classes docstrings
2020-04-24 10:34:46 +02:00
Josh Bax
be82d5ff36
Remove a redundant check from Name.desc_with_module
2020-04-24 10:34:46 +02:00
Dave Halter
784f9ff081
Actually fix #1556 , forgot to add this in 94d374c9ce
2020-04-23 10:10:58 +02:00
Dave Halter
0f39135ae5
Start changelog for 0.17.1
2020-04-22 23:14:58 +02:00
Dave Halter
94d374c9ce
Fix a small issue with the help method, fixes #1556
2020-04-22 17:32:40 +02:00
Dave Halter
f3152a8c2b
Django is not supported for Python 2
2020-04-22 09:44:43 +02:00
Dave Halter
f3eaa418bb
Work with a NameWrapper, so Django goto works better
2020-04-22 09:32:39 +02:00
Dave Halter
f9176578ea
Fix another django modelfield issue
2020-04-22 00:54:43 +02:00
Dave Halter
17eeb73767
Some nitpicks
2020-04-22 00:41:59 +02:00
Dave Halter
7756792bba
Fix another issue with foreign keys
2020-04-22 00:33:51 +02:00
Dave Halter
ba4e3393d3
Fix ForeignKey issues with invalid values
2020-04-22 00:27:06 +02:00
Dave Halter
1a89fafce4
Some other small refactorings
2020-04-22 00:15:35 +02:00
Dave Halter
df307b8eda
Refactor a few things for django
2020-04-22 00:05:35 +02:00
Dave Halter
d96887b102
Remove old third party django tests
2020-04-21 23:43:59 +02:00
Dave Halter
89ad9a500b
Use debug instead of print for Django and fix indentation, see #1467
2020-04-21 23:41:54 +02:00
Dave Halter
086728365c
Make Django test optional
2020-04-21 23:36:00 +02:00
Dave Halter
f9e36943d4
Merge branch 'master' of https://github.com/ANtlord/jedi
2020-04-21 23:22:40 +02:00
ANtlord
b5c1c6d414
Django plugin test of ManyToManyField is added and marked for future implementation.
2020-04-21 10:56:22 +03:00
ANtlord
df76b2462e
Review corrections.
2020-04-20 10:31:03 +03:00
Peter Law
343a10d491
Drop redundant blank line
2020-04-19 14:42:57 +01:00
Peter Law
72c52f5f15
Add type match guard
2020-04-19 14:29:44 +01:00
Peter Law
cfa01d3ac5
Add handling of nested generic tuples
2020-04-19 14:10:03 +01:00
Peter Law
f8e7447d35
Add handling of nested generic callables
...
Previously tests for these were passing somewhat by accident,
however this commit's parent adds a case which showed that the
handling was missing.
Note that this also relies on the recent fix for nested tuples
which changed the `isinstance` check in `define_generics`.
2020-04-19 13:27:06 +01:00
Peter Law
2ac806e39f
Add test which demonstrates incomplete generic Callable handling
2020-04-19 13:25:02 +01:00
Peter Law
7ebbf9da44
Make this test case obey typing rules in Python
...
Unfortunately I can't recall exactly what it was that this test
case was trying to validate, however on a second look it turns
out that it was working by accident and did not represent a valid
use of generic type vars in Python (which cannot be used completely
unbound as this was).
2020-04-18 22:59:20 +01:00
Peter Law
1c4a2edbdb
Fix construction of nested generic tuple return types
...
Unfortunately this appears to show up a separate bug.
2020-04-18 19:43:47 +01:00
ANtlord
1d3082249f
Debug information corrections.
2020-04-18 18:51:12 +03:00
ANtlord
09950233e7
Django is designated in test dependencies.
2020-04-18 18:36:04 +03:00
ANtlord
d48575c8c5
Simple tests of Django plugin are added.
2020-04-18 16:13:48 +03:00
ANtlord
f8a0cf76c8
Merge branch 'master' of github.com:davidhalter/jedi
2020-04-18 14:25:24 +03:00
Dave Halter
851e0d59f0
Better developer tools
2020-04-18 12:19:17 +02:00
Dave Halter
10b2de2c3f
Make the linter completely private
2020-04-18 11:23:25 +02:00
Dave Halter
3718d62e24
Make sure that calling Jedi with a random argument in CLI results in errors
2020-04-18 11:23:12 +02:00
Dave Halter
a793dd7c91
Fix a small _get_annotated_class_object, fixes #1550
2020-04-18 00:36:32 +02:00
Dave Halter
0850b86456
Also don't complete keywords if kwargs only are allowed, see #1541
2020-04-17 23:51:40 +02:00
Dave Halter
f07dee3564
Completion: Don't suggest variables when only kwargs are legal, fixes #1541
2020-04-17 22:59:26 +02:00
xu0o0
f871f5e726
fix #1548
2020-04-17 19:24:05 +02:00
Ryan Clary
803c3cb271
* Use an explicit environment for subprocess to ensure that existing environment variables are not inherited. This ensures more reliable results, see issue #1540 .
...
* Attempt to send SYSTEMROOT variable to Windows subprocess
2020-04-16 00:52:44 +02:00
Michał Górny
7ff76bb7d0
Sort test_project::test_search results to fix failures
...
Fixes #1542
2020-04-15 17:21:40 +02:00
Michał Górny
e7feeef64e
Inc difference limit in TestSetupReadline::test_import for py3.8
...
Python 3.8 on Linux has 21 differences which exceed the current limit.
Increase it to 22.
2020-04-15 10:09:36 +02:00
Dave Halter
8aaa8e0044
Project._python_path -> Project.environment_path
2020-04-14 23:14:07 +02:00
Dave Halter
cbfbe7c08d
Set the release date in Changelog
2020-04-14 22:59:17 +02:00
Dave Halter
81926a785c
Some README improvements
2020-04-14 00:06:32 +02:00
Dave Halter
9ccb596f93
Extract now properly validates line/column and those two params are required
2020-04-13 23:15:42 +02:00
Dave Halter
25db8de0da
Some minor CHANGELOG changes
2020-04-13 22:40:06 +02:00
Dave Halter
24dffe4226
Upgrade parso version
2020-04-13 22:33:51 +02:00
Dave Halter
c3fc129695
Fix a small issue
2020-04-12 00:54:31 +02:00
Dave Halter
02c3d651bd
Some more code quality fixes
2020-04-11 02:23:23 +02:00
Dave Halter
bdd4deedc1
Some code cleanups
2020-04-11 02:11:52 +02:00
Dave Halter
9d55194b92
Don't reuse a variable
2020-04-11 01:40:41 +02:00
Dave Halter
102f83ea85
Remove unreachable code
2020-04-11 01:39:04 +02:00
Dave Halter
22902f6dba
_convert_names kwargs are not needed
2020-04-11 01:37:34 +02:00
Dave Halter
5a3565785c
Add pyproject.toml to the list of files to search for projects
2020-04-11 00:51:28 +02:00
Dave Halter
0f2a7215bb
Use the interpreter environment if the executable is not available, fixes #1531
2020-04-02 20:59:35 +02:00
Dave Halter
61e9371849
Fix a potential AttributeError
2020-04-02 00:32:50 +02:00
Dave Halter
dde40b3a71
Add a comment to clarify the Type case
2020-04-02 00:23:38 +02:00
Dave Halter
ebb2786748
Avoid AttributeErrors for generics when a module is passed
2020-04-01 01:59:13 +02:00
Dave Halter
28f256d2a6
Merge branch 'improve-type-annotation-inference-refactors' of https://github.com/PeterJCLaw/jedi
2020-04-01 00:54:25 +02:00
Dave Halter
883f5a3824
Merge branch 'improve-type-annotation-inference' of https://github.com/PeterJCLaw/jedi
2020-04-01 00:54:13 +02:00
Dave Halter
ac33d5dea3
If branch inference should not trigger for things we don't know, fixes #1530
2020-03-31 22:46:31 +02:00
Dave Halter
604029568c
Fix string completion issue, fixes #1528
2020-03-26 15:47:27 +01:00
Peter Law
eac5ac8426
Update comment after refactor moved code
2020-03-25 22:35:12 +00:00
Peter Law
7e9ad9e733
Fix typo
2020-03-25 22:32:53 +00:00
Peter Law
e2090772f3
Push tuple handling onto Tuple class
...
This resolves a TODO to avoid using a private method
2020-03-22 16:04:39 +00:00
Peter Law
525b88e9f1
Simplify early-exit code by having it once
2020-03-22 15:49:31 +00:00
Peter Law
3c90a84f68
Extract common get_generics() calls
...
These no longer need to be guarded by the conditions now that we
know these types are generic anyway.
2020-03-22 15:47:46 +00:00
Peter Law
ea33db388b
Remove dict merging where it doesn't do anything
...
These cases are all at the end of a single-path branch that ends
up "merging" against an empty mapping which is then returned
unchanged.
2020-03-22 15:45:18 +00:00
Peter Law
f68d65ed59
Push much looping and merging of infering type vars into ValueSet
2020-03-22 15:29:11 +00:00
Peter Law
3c7621049c
Extract annotation inference onto annotation classes
...
This removes the _infer_type_vars util in favour of a polymorphic
implementation, removing the conditional checks on the type of
the annotation instance.
While for the moment this creates some circular imports, further
refactoring to follow should be able to remove those.
2020-03-22 15:29:11 +00:00
Peter Law
dd60a8a4c9
Extract nested function which is going to be used elsewhere
2020-03-22 15:20:58 +00:00
Peter Law
5bd6a9c164
Rename function which is going to be used elsewhere
2020-03-22 15:18:41 +00:00
Peter Law
c743e5d9f3
Push type check into helper
2020-03-22 15:14:01 +00:00
Peter Law
5ca69458d4
Add testing for mismatch cases
...
This should help catch any errors in our handling of invalid cases.
While some of these produce outputs which aren't correct, what
we're checking here is that we don't _error_ while producing that
output.
Also fix a case which this showed up.
2020-03-22 15:10:43 +00:00
Dave Halter
bb9731b561
Fix wrong types for iterate, fixes #1524
2020-03-21 18:09:03 +01:00
Dave Halter
a2f4d1bbe7
Fix stub conversion for Decoratee, so docstrings work, see #117
2020-03-21 17:23:27 +01:00
Dave Halter
88c13639bc
Remove unused environment param
2020-03-21 03:19:39 +01:00
Dave Halter
28c1ba6c1c
Fix a Python 2 test
2020-03-21 03:13:59 +01:00
Dave Halter
a2764283ba
Merge branch 'refactor'
2020-03-21 02:54:07 +01:00
Dave Halter
0ffd566957
Merge branch 'project'
2020-03-21 02:52:51 +01:00
Dave Halter
5b54ac835d
Fix deprecations in tests
2020-03-21 02:42:00 +01:00
Dave Halter
5f6a25fb58
Add deprecations warnings, to deprecated functions in the main API
2020-03-21 02:30:07 +01:00
Dave Halter
d6d9286242
Get rid of deprecations in tests
2020-03-21 02:15:57 +01:00
Dave Halter
4c964ae655
Fix some test results
2020-03-21 01:52:56 +01:00
Dave Halter
8000d425ec
Don't use desc_with_module in integration tests
2020-03-21 01:47:00 +01:00
Dave Halter
c7cd84b1a4
Rework the introduction of the README/docs
2020-03-21 01:25:58 +01:00
Dave Halter
6a89599fa5
Rework badges
2020-03-19 10:12:52 +01:00
Dave Halter
5f40fa9bc6
Docs: Remove links for sources/created using sphinx/copyright
2020-03-19 09:48:12 +01:00
Dave Halter
24cde8e974
Clean up acknowledgements
2020-03-19 09:43:19 +01:00
Dave Halter
dea80b20e9
REPL docs improvements
2020-03-19 02:57:51 +01:00
Dave Halter
197d64d9a8
Remove tox from docs
2020-03-19 02:53:24 +01:00
Dave Halter
a2bbbfe2d5
Rework a lot of the README
2020-03-19 02:49:29 +01:00
Dave Halter
2e9fac0b71
Rewrite the history part
2020-03-19 02:33:45 +01:00
Dave Halter
83e0e3bd8d
Move history
2020-03-19 02:16:21 +01:00
Dave Halter
2f651966e7
Make jedi testing explanations better
2020-03-19 02:13:01 +01:00
Dave Halter
ffbaa4afea
Improve settings documentation
2020-03-19 01:53:47 +01:00
Dave Halter
e11db6e8e4
Move acknowledgements in docs
2020-03-19 01:42:18 +01:00
Dave Halter
eea6c7f41b
Move recipes to Jedi Usage
2020-03-19 01:31:49 +01:00
Dave Halter
01f53236a4
Rework the recipe parts
2020-03-19 01:26:45 +01:00
Dave Halter
c39326616c
A lot of improvements for the features & limitations docs
2020-03-19 01:04:48 +01:00
Dave Halter
b1aef26464
Docs: End user usage improvements
2020-03-19 00:25:54 +01:00
Dave Halter
97117bfaf2
Display full version in docs
2020-03-19 00:16:03 +01:00
Dave Halter
f12262881d
Some minor docstring improvements
2020-03-19 00:11:02 +01:00
Peter Law
95b0cdcb5e
Add test for child of specialised generic
2020-03-18 22:15:32 +00:00
Peter Law
0f8e7b453e
Formatting
2020-03-18 22:12:21 +00:00
Dave Halter
516b58b287
Fix a lot of sphinx warnings
2020-03-18 10:16:32 +01:00
Dave Halter
e53acb4150
Create an autosummary for Jedi's API
2020-03-18 10:03:07 +01:00
Dave Halter
7de475318a
Minor refactoring
2020-03-17 10:00:38 +01:00
Dave Halter
6dda514ec6
Make sure encoding doesn't unnecessarily raise warnings
2020-03-17 10:00:30 +01:00
Dave Halter
72a3a33e33
ParamDefinition -> ParamName
2020-03-17 09:34:28 +01:00
Dave Halter
d26926a582
Definition -> Name
2020-03-17 09:33:12 +01:00
Dave Halter
0731206b9d
BaseDefinition -> BaseName
2020-03-17 09:25:30 +01:00
Dave Halter
c2451ddd03
Small docstring changes
2020-03-17 09:21:48 +01:00
Dave Halter
88adf84fc2
Move acknowledgements over to the documentation
2020-03-17 09:18:34 +01:00
Dave Halter
94c97765c8
Include the CHANGELOG in docs
2020-03-17 09:16:57 +01:00
Dave Halter
1c56d15836
Added project support to the changelog
2020-03-17 09:06:37 +01:00
Dave Halter
7985ef37d4
Rewrite Interpreter docs
2020-03-17 09:04:02 +01:00
Dave Halter
8f4f6d6ac3
Document refactoring functions
2020-03-17 08:57:35 +01:00
Dave Halter
4a065642f2
Docs: Reformat API return classes
2020-03-17 08:34:51 +01:00
Dave Halter
3276db0bdc
Improve many Script API docstrings
2020-03-16 10:19:39 +01:00
Dave Halter
88757f00e7
Script source argument to code
2020-03-16 09:45:05 +01:00
Dave Halter
6d79ac9fde
Add deprecations for Script parameters line/column/encoding
2020-03-16 09:41:47 +01:00
Dave Halter
25af28946e
Docs: API overview
2020-03-16 09:35:47 +01:00
Dave Halter
950f5c186c
Restructure API documentation
2020-03-16 09:27:01 +01:00
Dave Halter
8f96cbdabf
Replace the old flask theme with the sphinx_rtd_theme
2020-03-16 01:28:06 +01:00
Christopher Cave-Ayland
17b3611c53
Included statement as a possible return type for BaseDefinition.type
2020-03-16 00:36:17 +01:00
Dave Halter
9240a20d13
Remove an old note that was not valid anymore
2020-03-16 00:21:15 +01:00
Dave Halter
6220b20659
"Document" stubs for develops
2020-03-16 00:19:08 +01:00
Dave Halter
2feb0acd7d
Docs: remove arrogance :)
2020-03-16 00:13:30 +01:00
Dave Halter
8efd111426
Small docs example code changes
2020-03-16 00:07:01 +01:00
Dave Halter
616e9bf275
Docs: security
2020-03-16 00:05:48 +01:00
Dave Halter
78f0f5855f
Docs: History
2020-03-16 00:02:17 +01:00
Dave Halter
0f11f65682
Docs: Features
2020-03-16 00:00:43 +01:00
Dave Halter
43363936cd
Installation notes for docs moved down in priority a bit
2020-03-15 23:52:52 +01:00
Dave Halter
0f25eb9c9a
Way more docs work
2020-03-15 23:41:53 +01:00
Dave Halter
8ceb76b3f6
Move is_side_effect to BaseDefinition
2020-03-15 23:13:41 +01:00
Dave Halter
25e6db5e82
Some more docstring stuff
2020-03-15 23:12:38 +01:00
Dave Halter
7c7864d500
Improve docstrings for a lot of the return API classes
2020-03-15 23:02:30 +01:00
Dave Halter
a9761079e6
Remove follow_definition
2020-03-15 19:28:02 +01:00
Dave Halter
20fad922bc
Better SyntaxError listings
2020-03-14 17:30:33 +01:00
Dave Halter
3cef022a15
Add a proper CHANGELOG for the current version
2020-03-14 17:22:25 +01:00
Dave Halter
52b0450953
Add a warning about fast_parser, fixes #1240
2020-03-14 16:53:08 +01:00
Dave Halter
7b725553ff
Better documentation of Script
2020-03-14 16:48:07 +01:00
Dave Halter
e811651b00
Further example tinkering
2020-03-14 15:47:32 +01:00
Dave Halter
fbba7714e4
Better examples
2020-03-14 15:42:16 +01:00
Dave Halter
bdb36ab626
Document projects better
2020-03-14 15:35:41 +01:00
Dave Halter
1a466d9641
Move the Project.save function within the file
2020-03-14 15:25:40 +01:00
Dave Halter
94f99aaeb3
Docs: Document projects
2020-03-14 15:25:03 +01:00
Dave Halter
851980e2a9
Document errors better
2020-03-14 15:15:09 +01:00
Dave Halter
88c766afb0
Better docstrings for search
2020-03-14 15:00:47 +01:00
Dave Halter
13254a30df
Docs: Restructure API overview
2020-03-14 14:28:06 +01:00
Dave Halter
50af2650bb
Docs: features reworked
2020-03-14 13:58:30 +01:00
Dave Halter
788562715e
Update the README with the latest API changes
2020-03-14 12:21:55 +01:00
Dave Halter
0888dd468f
Fix partialmethod issues
2020-03-14 01:22:46 +01:00
Dave Halter
fd9a493868
Make sure partialmethod tests are only executed for Python 3
2020-03-14 00:45:43 +01:00
Dave Halter
661fdb2b26
Merge branch 'add-partialmethod' of https://github.com/ffe4/jedi
2020-03-14 00:28:06 +01:00
Dave Halter
23f267bb86
Fix small make html errors for docs
2020-03-14 00:18:29 +01:00
Dave Halter
4af138f4fb
Merge branch 'docs' of https://github.com/blueyed/jedi into refactor
...
Almost all of the docstrings were still there.
2020-03-14 00:12:53 +01:00
Dave Halter
10bc578bfe
Merge branch 'master' into refactor
2020-03-13 23:53:09 +01:00
Daniel Lemm
2406e58386
Refactor stdlib PartialObject
...
Merges PartialObject and PartialMethodObject. Also adds more tests.
Some parts are still WIP, see: #1522 .
Fixes #1519
2020-03-13 23:47:48 +01:00
Dave Halter
5cd212c51c
Merge branch 'expandtab' of https://github.com/Carreau/jedi
...
Also modify the test a bit to make sure that it passes properly if there are
folders present.
2020-03-13 23:40:48 +01:00
Daniel Lemm
fd6540a9e5
Fix PartialMethodObject (WIP)
...
Implemented feedback from PR #1522 .
Does not pass new tests in test/completion/stdlib.py
2020-03-13 21:40:58 +01:00
Dave Halter
521e240c5f
Changed semantics of ClassVar attributes in classes, fixes #1502
2020-03-13 12:54:29 +01:00
Dave Halter
b4fa42a282
Avoid duplicate definitions for goto, fixes #1514
2020-03-13 02:22:05 +01:00
Dave Halter
fb72e1b448
Merge _remove_statements and infer_expr_stmt, fixes #1504
2020-03-13 00:50:25 +01:00
Peter Law
da9d312185
Remove redundant attribute check
2020-03-12 22:06:13 +00:00
Daniel Lemm
96c969687a
Add partialmethod, fixes #1519
...
Returns correct method signature but test/completion/stdlib.py fails
2020-03-12 18:47:17 +01:00
Dave Halter
f83844408f
Some minor refactorings for string quotes
2020-03-11 19:32:26 +01:00
Dave Halter
b247423184
Indentation
2020-03-11 19:26:59 +01:00
Dave Halter
9c77113e21
Fix string completions with quote prefixes, fixes #1503
2020-03-11 19:26:42 +01:00
Dave Halter
91857c2c0a
Fix issues with iter_module_names
2020-03-11 00:19:40 +01:00
Dave Halter
886dadaaff
Skip more tests for Python 2/3.5
2020-03-10 20:17:39 +01:00
Dave Halter
d574162da3
Fix namedtuple docstring/signature issues, fixes #1506
2020-03-10 20:07:10 +01:00
Dave Halter
0aa1ef6639
Move an import to the top
2020-03-10 09:36:45 +01:00
Dave Halter
33c61b8708
Make a method public
2020-03-10 09:35:03 +01:00
Dave Halter
bedf3bff0e
Add Project.complete_search instead of the complete param
2020-03-10 08:31:15 +01:00
Dave Halter
d838eaecd2
Implement Script.complete_search instead of the complete param and return Completion objects
2020-03-09 23:55:17 +01:00
Dave Halter
cf3d83ee4f
Don't mix up caches for stubs and python files
2020-03-09 17:48:36 +01:00
Dave Halter
7247c32990
Refactor load_module_from_path to be simpler
2020-03-09 17:40:14 +01:00
Dave Halter
75ae73ee97
Load -stubs packages properly in _load_python_module
2020-03-09 17:27:51 +01:00
Dave Halter
753440682e
Some further testing of code search with stubs
2020-03-08 15:12:57 +01:00
Dave Halter
53f39c88e4
Try to fix a few more stub issues in search
2020-03-08 15:02:00 +01:00
Dave Halter
d3e3021a3d
Care better about stubs for code search
2020-03-08 13:16:06 +01:00
Dave Halter
e46e1269a2
Finally use the string_names attribute to identify module names instead of some fucked up path calculation.
2020-03-08 12:58:44 +01:00
Dave Halter
a5f7412296
Load stub modules if it's a stub
2020-03-08 11:51:39 +01:00
Peter Law
b198434694
Remove resolved TODO
...
The common logic this refers to has now been extracted (see 95cec459 )
and the remaining checks are specific to tuple handling.
2020-03-07 20:29:14 +00:00
Dave Halter
58998748e3
Make it clear in search tests if a stub or a normal definition is expected
2020-03-07 20:43:57 +01:00
Dave Halter
6bddca011c
Listing modules is no longer done by a subprocess
2020-03-07 20:25:58 +01:00
Dave Halter
f147cb1133
Make it possible to get stdlib modules for project search
2020-03-07 19:42:27 +01:00
Peter Law
d06efd0dd1
Push fetching of generics into nested function
...
This slightly simplifies both the calling code and semantics of
the nested function.
2020-03-07 18:09:20 +00:00
Peter Law
96132587b7
Clarify generic tuple inference
...
This hoist a loop invariant conditional check outside the loop
making it clearer and one branch more obviously similar to the
general type handling.
2020-03-07 17:35:29 +00:00
Peter Law
5d273f4630
Explain these branches
2020-03-07 17:35:03 +00:00
Peter Law
95cec459a8
Extract nested function for common pattern
...
This slightly simplifies the code, as well as providing a place
to put an explanation of what the moved block of code does.
2020-03-07 17:06:22 +00:00
Peter Law
3b4fa2aa9c
Clarify variable name
2020-03-07 16:32:38 +00:00
Peter Law
54e29eede1
Add explanation of the parameters to _infer_type_vars
2020-03-07 16:31:12 +00:00
Dave Halter
c159b9debd
Get namespace package searches working
2020-03-07 17:14:47 +01:00
Dave Halter
eecdf31601
Make it possible to search folders __init__ files
2020-03-07 13:57:14 +01:00
Dave Halter
7f2f025866
Move get_module_names to api.helpers
2020-03-06 14:32:52 +01:00
Dave Halter
ed3564831c
Some minor test reworks
2020-03-06 14:28:48 +01:00
Dave Halter
8c1e518ab7
Make sure you can search for 'def something'
2020-03-06 14:27:29 +01:00
Dave Halter
c7a862ec19
Fix issues where references were identified as definitions
2020-03-06 14:24:57 +01:00
Dave Halter
6e3bd38600
Start merging efforts for project search and file search
...
First project tests are passing
2020-03-06 13:32:04 +01:00
Dave Halter
e6bdaea73e
Actually implement symbol search for projects
2020-03-06 11:15:34 +01:00
Dave Halter
ebb9df07f3
Progress for recursive symbol searches
2020-03-06 10:31:48 +01:00
Dave Halter
8df917f1df
Fix a getattr_static issue, fixes #1517
2020-03-06 10:07:23 +01:00
Dave Halter
30f72c48c4
Test that full_name in funcs work
2020-03-01 20:11:00 +01:00
Dave Halter
e03924895b
Add tests for search
2020-03-01 19:52:49 +01:00
Dave Halter
af055ec69c
Some minor refactorings of search
2020-03-01 19:39:26 +01:00
Dave Halter
9d8ad4cc04
Implement a search function, fixes #225
2020-03-01 18:47:01 +01:00
Dave Halter
a6ef8efb72
fuzzy_match and start_match are now match with fuzzy param
2020-03-01 18:03:13 +01:00
Dave Halter
ccc1262a3e
Avoid one more private access
2020-03-01 17:53:39 +01:00
Dave Halter
656324f686
Disable some more tests for Python 2
2020-03-01 13:30:41 +01:00
Dave Halter
bd1ef659e8
Make InterpreterEnvironment public
2020-03-01 12:47:26 +01:00
Dave Halter
afc61c2576
is_typeddict should be part of ClassMixin
2020-03-01 12:26:40 +01:00
Dave Halter
4d5373d626
Don't continue searching for values if an annotation is found
2020-03-01 12:25:46 +01:00
Dave Halter
609737322d
TypedDict checking should be at a later point
2020-03-01 02:34:38 +01:00
Dave Halter
fa63c92cf7
Simplify tests a bit
2020-03-01 01:56:49 +01:00
Dave Halter
e5fabb4c5f
Fix some version issue stuff
2020-03-01 01:42:22 +01:00
Dave Halter
bb91b96286
Merge branch 'typeddict' of https://github.com/pappasam/jedi
2020-03-01 01:31:17 +01:00
Dave Halter
fd23946de3
Avoid universal newlines even more
2020-03-01 01:12:47 +01:00
Dave Halter
a2b8c44e8f
Get rid of Python's universal newlines for refactoring
2020-02-29 23:34:49 +01:00
Dave Halter
0a1de619b4
Reverse order of travis tests
2020-02-28 12:48:08 +01:00
Dave Halter
31d5c92dae
Reverse order of tests in appveyor
2020-02-28 12:47:18 +01:00
Dave Halter
d1873f8e1e
Windows uses backslashes for paths
2020-02-28 12:42:39 +01:00
Dave Halter
58ba47841c
Use inline_mod instead of some_mod for inline refactor tests
2020-02-28 01:53:35 +01:00
Dave Halter
0f2d6ac27a
Undo some .travis.yml changes that were removed because of Python 3.4 drop
2020-02-28 00:22:29 +01:00
Dave Halter
76ce422590
Make refactoring diff path a relative path to the project path
2020-02-28 00:17:14 +01:00
Dave Halter
1f773d8e65
Refactoring is not allowed for environments and the current version lower than 3.6
2020-02-27 23:24:23 +01:00
Dave Halter
4451d2fec7
Refactoring diffs now show relative paths
2020-02-27 23:23:24 +01:00
Dave Halter
0ef8053919
Don't use a random grammar for extract
2020-02-27 22:50:30 +01:00
Dave Halter
140a45081f
Python 3.5 is not supported for refactorings
2020-02-27 19:01:08 +01:00
Dave Halter
ebdaf0177d
Don't continue searching for values if an annotation is found
2020-02-27 18:47:13 +01:00
Dave Halter
f2f11bc574
Remove some code for 3.3 compatibility
2020-02-27 18:31:50 +01:00
Dave Halter
5f2a402b19
Removed some more 3.4 usages
2020-02-27 18:30:46 +01:00
Dave Halter
5f226bc82e
Make sure to not execute refactoring tests for Python 2
2020-02-27 02:17:05 +01:00
Dave Halter
a892887b04
Remove Python 3.4 support
2020-02-27 02:04:03 +01:00
Dave Halter
d1ac00f64f
Fix run.py issue
2020-02-27 01:44:01 +01:00
Dave Halter
03e1770a24
Fix rename refactoring tests
2020-02-27 01:23:07 +01:00
Dave Halter
42adadd0cb
Add an extract test for methods without params
2020-02-27 01:19:01 +01:00
Dave Halter
3708ab3514
Make extract yield error message better
2020-02-27 01:12:34 +01:00
Dave Halter
c9334d140b
Make it impossible to extract if return is not at the end
2020-02-27 01:08:03 +01:00
Dave Halter
35e992c37c
Make sure that return at the end works properly for extract
2020-02-27 00:54:40 +01:00
Dave Halter
a92c28840b
Fix: Extract can now deal with return statements at the end
2020-02-26 09:31:33 +01:00
Dave Halter
c96994dd8d
Add a method extract test
2020-02-26 01:11:04 +01:00
Dave Halter
bb6f0d5e91
Fix extract: better input filtering
2020-02-26 00:59:04 +01:00
Dave Halter
bf9a3a4ca8
Rewrite an extract test to make them more diverse
2020-02-26 00:24:27 +01:00
Dave Halter
eef47e951e
One more function test
2020-02-26 00:21:46 +01:00
Dave Halter
17892556f8
Fix another comment extraction issue
2020-02-26 00:17:44 +01:00
Dave Halter
b65c1c26aa
Fix a function extract indentation issue
2020-02-25 23:52:23 +01:00
Dave Halter
bc3e1ada03
One more comment test for extract with range
2020-02-25 23:30:44 +01:00
Dave Halter
1f82efa86d
Fix a newline issue for refactoring functions
2020-02-25 23:27:21 +01:00
Dave Halter
94c00229f2
Make it possible to include comments for extract function
2020-02-25 23:25:50 +01:00
Dave Halter
5614ef2fed
Move all the extract stuff into a different file
2020-02-25 10:33:31 +01:00
Dave Halter
8ff5ca81d2
Make a package out of refactoring
2020-02-25 10:28:27 +01:00
Dave Halter
ff60c0af87
Docstrings
2020-02-25 10:27:36 +01:00
Dave Halter
89398e5c87
Deal a lot better with prefixes in range extractions
2020-02-25 10:23:38 +01:00
Dave Halter
f8d9f498d0
Get a first extract test mostly working
2020-02-24 10:12:38 +01:00
Peter Law
30738a092b
Update sith's module docstring to match the available operations
2020-02-24 01:33:46 +01:00
Dave Halter
f527138e6c
Extract: Fix param order for methods
2020-02-24 00:19:34 +01:00
Dave Halter
24a4c3ceba
Test closure extraction
2020-02-23 23:56:59 +01:00
Dave Halter
48e25c1b9b
Extract: Make sure params are not duplicated
2020-02-23 23:22:38 +01:00
Peter Law
f1a9e681ad
Ensure comprehensions and generator expressions work
2020-02-23 15:25:28 +00:00
Peter Law
f4cbf61604
Ensure variadic tuples (Tuple[T, ...]) behave like sequences
2020-02-23 14:00:39 +00:00
Peter Law
5e990d9206
Support passing through values for non-annotated tuples
2020-02-23 14:00:16 +00:00
Peter Law
80db4dcf56
Add test to ensure unions work
2020-02-23 14:00:16 +00:00
Peter Law
e557129121
Remove check which doesn't seem to be needed
...
I'm not sure why I added this, though removing it doesn't seem to
casue any issues. I suspect there might be some oddness if the type
being passed in doesn't match the type expected, though them having
the same number of generic paramters isn't an expecially great way
to validate that.
2020-02-23 14:00:16 +00:00
Peter Law
c15e0ef9b8
Ensure specialised types inheriting from generics work
2020-02-23 14:00:15 +00:00
Peter Law
e455709a31
Add test case for nested generic callables
2020-02-23 14:00:13 +00:00
Peter Law
c03ae0315e
Make nested Type[T] annotations work
2020-02-23 13:59:44 +00:00
Peter Law
bc53dabce3
Make tuple generic parameters work
2020-02-23 13:59:44 +00:00
Peter Law
969a8f1fd9
First pass at extending infer_type_vars
...
This mostly works for the new tests, but doesn't work for:
- tuples (though this seems to be because they lack generic information anyway)
- nested Type[T] handling (e.g: List[Type[T]])
2020-02-23 13:59:44 +00:00
Peter Law
0a7820f6de
Add many test cases
...
While these definitely _ought_ to work on Python 2.7, the annotation
support there is very limited and as Python 2 is deprecated it
doesn't seem worth it.
2020-02-23 13:58:10 +00:00
Dave Halter
da935baa99
Some more extract improvements
2020-02-23 12:06:37 +01:00
Dave Halter
cc8483a07a
Fix extract issues when self is involved
2020-02-23 11:50:05 +01:00
Dave Halter
48c4262f66
Start trying to find param names
2020-02-23 01:55:43 +01:00
Dave Halter
d069a4e482
Add a test for extraction in a class
2020-02-23 01:41:51 +01:00
Dave Halter
2061919b64
Get staticmethod working
2020-02-23 01:36:45 +01:00
Dave Halter
a7110a4e08
Get a first classmethod extraction working
2020-02-23 00:40:31 +01:00
Dave Halter
b7be5a4fe2
Extract: Correct newlines for classes and make it possible to be on a return/yield statement
2020-02-23 00:24:34 +01:00
Dave Halter
876109267a
Remove is_function_execution, it's not used
2020-02-23 00:16:46 +01:00
Dave Halter
1c0f9e1f30
Extract functions properly out of functions
2020-02-22 21:24:06 +01:00
Peter Law
6efafb348e
Extract the annotation name upfront
...
We almost always need this and this simplifies the code within
each branch. This also means we'll be able to the name to determine
the branching.
2020-02-22 19:42:08 +00:00
Peter Law
36b4b797c1
Add trailing comma
2020-02-22 19:42:08 +00:00
Dave Halter
ce1093406a
Get some first extract_function stuff working
2020-02-22 00:04:11 +01:00
Dave Halter
dcffe8e60b
Some refactorings and final tests for extract variable
2020-02-21 03:15:40 +01:00
Dave Halter
0516637e8d
Fix an extract case about "not"
2020-02-21 03:03:48 +01:00
Dave Halter
3bc66c2f00
Fix some error cases for extract
2020-02-21 02:22:54 +01:00
Dave Halter
742c4370b5
Fix some last extract issues
2020-02-21 01:57:12 +01:00
Dave Halter
292ad9d9ac
Enable extracting of parts of nodes
2020-02-21 01:43:36 +01:00
Dave Halter
3457bd77eb
Make sure that extract variable works for some ranges
2020-02-20 23:34:09 +01:00
Lior Goldberg
1874e9be81
Remove the word 'class' from annotation_string
...
Currently, 'foo(x: int)' results with annotation_string="<class 'int'>".
Change this to 'int'.
2020-02-20 09:35:01 +01:00
Dave Halter
3f86d803d2
Fix another special extract case
2020-02-20 01:29:04 +01:00
Dave Halter
26bf2ceb15
Fix refactoring of leaves just before leaves
2020-02-20 00:43:02 +01:00
Dave Halter
bfa15c61f1
Keyword extraction is now working better
2020-02-19 09:25:59 +01:00
Dave Halter
61619c4db1
Test keyword extraction
2020-02-19 09:20:12 +01:00
Dave Halter
50be49544d
Move indent_block to common
2020-02-19 09:15:39 +01:00
Dave Halter
b1d3c7ef52
Move indent_block to a separate utils
2020-02-18 18:50:40 +01:00
Dave Halter
7dff25f7c9
Test extracing of base classes
2020-02-17 10:06:40 +01:00
Dave Halter
ab4fe548f2
Handle params better for extract variable
2020-02-17 09:55:11 +01:00
Peter Law
c4cf0d78e1
Add a couple of docstrings
...
These are based on observation of the outputs of these functions.
2020-02-15 12:25:12 +01:00
Dave Halter
d1f7400829
First implementation of extract variable
2020-02-15 12:17:29 +01:00
Dave Halter
ee8cdb667d
Make it possible to test refactoring outputs a bit different
2020-02-15 00:59:26 +01:00
Dave Halter
24114ba631
Remove reorder imports. For now this is not a priority
2020-02-14 23:56:11 +01:00
Dave Halter
9d171609da
Fix some inline tests about different modules and atom_expr/trailer combinations
2020-02-14 18:02:37 +01:00
Dave Halter
518d2449a7
More inline tests
2020-02-14 17:26:58 +01:00
Dave Halter
a906a76ccd
Don't support refactoring for Python 2
2020-02-14 17:19:21 +01:00
Dave Halter
af20905f7d
Make sure the brackets are set properly
2020-02-14 17:08:42 +01:00
Dave Halter
d536a20019
Fix some whitespace refactoring when inlining
2020-02-14 16:57:25 +01:00
Dave Halter
bcefb04d54
add some more test for inline errors
2020-02-14 15:49:18 +01:00
Dave Halter
dac2655915
Make sure to test errors for inlining
2020-02-14 15:30:49 +01:00
Dave Halter
14180ad185
Make sure to have a rename test if no name is under the cursor
2020-02-14 14:24:05 +01:00
Dave Halter
dbf88f2750
Make it possible to be able to test errors for refactorings
2020-02-14 14:15:57 +01:00
Dave Halter
0a3ff6bd70
Implement inline refactorings
2020-02-14 13:53:41 +01:00
Sam Roeca
d6f6c29a63
TypedDict test: fix Bar inheritance checks
...
Note: foo is defined as a function a the module level so I remove it
from consideration here to avoid complicating this test with other tests
in the module.
2020-02-13 10:43:41 -05:00
Peter Law
c7d1b8de9e
Tell sith that 'completions' became 'complete'
2020-02-13 09:51:31 +01:00
Dave Halter
b4628abc60
Some sother small test improvements
2020-02-13 09:34:33 +01:00
Dave Halter
aef675c79b
Rewrite old refactoring tests a bit to reuse them
2020-02-13 09:27:57 +01:00
Dave Halter
41602124c7
Prepare remaining refactoring methods that should be implemented at some point
2020-02-13 09:27:36 +01:00
Dave Halter
5c246649e2
Test renames better and change some small things about the refactoring API
2020-02-13 00:19:34 +01:00
Dave Halter
6c9f187884
Refactor the rename tests a bit
2020-02-13 00:19:00 +01:00
Dave Halter
871575b06c
Make sure that get_changed_files returns a dict
2020-02-12 09:59:39 +01:00
Dave Halter
fd4ba3f47e
Make sure to that renames works for keyword params
2020-02-12 01:19:47 +01:00
Dave Halter
204b072388
Add tests for undefined variables
2020-02-12 01:08:47 +01:00
Dave Halter
e7ab318107
Make sure rename diffs have the right paths
2020-02-12 01:00:13 +01:00
Dave Halter
52d72157c0
Rename a module to make refactoring tests a bit faster
2020-02-12 00:35:49 +01:00
Sam Roeca
ac47866c4c
TypedDict: fix non-inheritance tests, add inheritance
...
Note: tests currently failing
2020-02-11 18:32:15 -05:00
Dave Halter
c47021150e
Add a rename test for combination of variables and modules
2020-02-11 23:43:09 +01:00
Dave Halter
a39b2e95c1
Add another refactoring test
2020-02-11 21:13:55 +01:00
Jma353
d42d3f45f0
Add venv to .gitignore
2020-02-11 19:08:47 +01:00
Dave Halter
b4494e588f
A prefixed path should not also be suffixed
2020-02-11 18:34:41 +01:00
Dave Halter
0697a39145
Make refactoring tests a bit clearer
2020-02-11 10:08:36 +01:00
Dave Halter
e43b0cec4a
Get renames working for module imports
2020-02-11 01:35:07 +01:00
Dave Halter
ab4f282b03
Move rename function to refactoring
2020-02-11 00:18:49 +01:00
Dave Halter
4bc9075d0b
Add another rename test for imports
2020-02-10 21:17:22 +01:00
Dave Halter
faddf412f9
Make some refactoring test variables private
2020-02-10 20:06:27 +01:00
Dave Halter
e22a44d79e
Remove a lot of nonsense from refactoring tests
2020-02-10 20:04:48 +01:00
Dave Halter
4cc03d2239
Add another rename test
2020-02-10 19:51:35 +01:00
Dave Halter
1e929b0aa0
Remove the old refactoring module
2020-02-10 17:48:24 +01:00
Dave Halter
13b393a5e3
Get the first rename test passing
2020-02-10 17:42:23 +01:00
Dave Halter
6166e7961e
Make sure that tests for refactoring are redirected
2020-02-09 14:05:16 +01:00
Peter Law
370e539a7e
Remove additional prefix which seems incorrect
2020-02-09 11:39:41 +01:00
Peter Law
fd1f9f22e9
Update use of _source which no longer exists to _code
2020-02-09 11:39:41 +01:00
Dave Halter
bcb7cc864c
Make sure to move up VSCode, because it's used a lot
2020-02-08 20:09:46 +01:00
Dave Halter
de2f753546
Revert "Make sure to mention that VSCode is using Jedi"
...
It was already in there.
This reverts commit 2cf06bcf48 .
2020-02-08 20:06:17 +01:00
Dave Halter
2cf06bcf48
Make sure to mention that VSCode is using Jedi
...
It has been used for a long time
2020-02-08 20:04:47 +01:00
Sam Roeca
cf954bf006
Expand on TypedDict tests.
...
Adds a function that takes the TypedDict as an argument.
Note: the last two tests are failing, along with lots of other tests
throughout the system.
2020-02-07 14:40:39 -05:00
Sam Roeca
9d2083fa08
Remove argument to filter.values()
...
Given 87161df2 , values(from_instance=False) doesn't produce completions
anymore. Therefore, we remove from_instance as an argument.
2020-02-07 13:38:52 -05:00
Sam Roeca
6a9745b42b
Get basic completions working with TypedDict
2020-02-07 13:24:00 -05:00
Dave Halter
87161df2f0
Make sure that typeddict py__getitem__ works
2020-02-07 16:45:03 +01:00
Dave Halter
7ef07b576f
Merge branch 'master' into typeddict
2020-02-07 04:03:27 +01:00
Dave Halter
6e63799a7d
Fix a test that picked up the wrong paths
2020-02-06 22:51:40 +01:00
Dave Halter
841fe75326
Fix an issue with environment selection
2020-02-06 22:41:11 +01:00
Dave Halter
f6465c5202
Get rid of one more os.getcwd() call
2020-02-06 01:51:10 +01:00
Dave Halter
14ac0512a9
Get rid of cwd modifications in tests
2020-02-06 01:47:39 +01:00
Dave Halter
f2722952e7
Fix load_unsafe_extensions issue
2020-02-05 10:01:21 +01:00
Dave Halter
b7919bd3e6
Merge branch 'master' into project
2020-02-04 23:56:47 +01:00
Dave Halter
7a55484b79
Fix a test issue
2020-02-04 23:56:01 +01:00
Dave Halter
670d6e8639
Move is_side_effect to Definition and correct bugs
2020-02-04 20:12:24 +01:00
Dave Halter
6313934d94
Add a docstring for is_side_effect
2020-02-04 19:39:13 +01:00
Dave Halter
40fced2450
Actually use follow_builtin_imports and improve the goto docstring, fixes #1492
2020-02-04 19:34:42 +01:00
Dave Halter
692bf5cfb7
Properly identify side effects, fixes #1411
2020-02-04 10:12:13 +01:00
Dave Halter
66e28eb52e
Move test_api/test_defined_names.py -> test_api/test_names.py
2020-02-04 10:03:55 +01:00
Dave Halter
3388a9659b
Catch an error with illegal class instances, fixes #1491
2020-02-03 22:27:48 +01:00
Dave Halter
eb88c483fb
Catch an error with illegal class instances, fixes #1491
2020-02-03 22:27:22 +01:00
Dave Halter
2c62166ff6
Get parser errors working, fixes #1488
2020-02-03 22:06:12 +01:00
Dave Halter
3101e43aa6
Merge branch 'master' into project
2020-02-03 09:26:43 +01:00
Dave Halter
a49c757b8a
Make Ellipsis without list in Callable work, fixes #1475
2020-02-03 09:25:46 +01:00
Dave Halter
3ad3dc08b8
Run get_type_hint tests only for 3.6+
2020-02-03 01:03:19 +01:00
Dave Halter
eee919174d
Stubs should not become stubs again in the conversion function, fixes #1475
2020-02-03 00:58:54 +01:00
Dave Halter
e802f5aabd
Make sure to print errors in __main__ completions
2020-02-02 23:28:55 +01:00
Dave Halter
e3c4b5b77e
Make sure param hints are working for functions
2020-02-02 18:42:01 +01:00
Dave Halter
4c7179bc87
Generate type hints, fixes #987
2020-02-02 16:55:10 +01:00
Dave Halter
f4b1fc479d
Bump version to 0.16.1
2020-01-31 13:38:27 +01:00
Dave Halter
e1425de8a4
Make sure to be able to deal with all kinds of loaders, fixes #1487
2020-01-31 13:26:56 +01:00
Dave Halter
8ff2ea4b38
Make sure to not load unsafe modules anymore if they are not on the sys path, fixes #760
2020-01-31 13:09:28 +01:00
Dave Halter
e7a77e438d
Remove python_version again, it might not be needed
2020-01-31 02:15:24 +01:00
Dave Halter
a05628443e
Make sure serialization works for projects
2020-01-31 02:14:34 +01:00
Dave Halter
d09882f970
Remove django from the project API
2020-01-31 01:50:52 +01:00
Dave Halter
e5ec2a3adf
Introduce two new Project params: python_path, python_version
2020-01-31 01:46:55 +01:00
Dave Halter
d02af44331
Make it possible to use get_default_project directly from Jedi
2020-01-31 00:21:46 +01:00
Dave Halter
251ff447bc
Add added_sys_path to Project, fixes #1334
2020-01-31 00:08:24 +01:00
Dave Halter
4a1d9a9116
Use project instead of sys_path parameter in tests
2020-01-30 21:02:47 +01:00
Dave Halter
ceccbf3678
Make the Project API public, fixes #778
2020-01-30 19:24:16 +01:00
Dave Halter
e930f47861
Make generators return more correct values with while loops, fixes #683
2020-01-29 10:13:46 +01:00
Dave Halter
d630ed55f3
Avoid aborting search for yields when they are still reachable, see #683
2020-01-28 09:35:58 +01:00
Dave Halter
bec87f7ff8
Jedi understand now when you use del, fixes #313
2020-01-26 20:07:56 +01:00
Dave Halter
045b8a35a2
Remove dead code
2020-01-26 19:39:15 +01:00
Dave Halter
8eb980db73
Create the basics to work with TypedDict in the future
2020-01-26 19:25:23 +01:00
Dave Halter
18f84d3af7
Remove Python 3.3 from environment tests
2020-01-26 01:30:31 +01:00
Dave Halter
2ccd015b5a
Make sure to skip some tests for Python 3.5
2020-01-26 01:18:28 +01:00
Dave Halter
1a62674254
Small Changelog updates
2020-01-26 00:58:04 +01:00
Dave Halter
7645762a25
Fix a small signature issue
2020-01-26 00:42:00 +01:00
Dave Halter
2e036bffb5
Create a private helper to test completions
2020-01-26 00:28:48 +01:00
Dave Halter
feefd47ddd
Fix an issue with names
2020-01-25 18:48:52 +01:00
Dave Halter
f42ab8872d
compiled_object -> compiled_value
2020-01-25 18:25:19 +01:00
Dave Halter
7c3dbef9c5
Remove dead code
2020-01-25 18:16:30 +01:00
Dave Halter
8cccdde28d
CompiledObject -> CompiledValue
2020-01-25 18:13:50 +01:00
Dave Halter
5cd4a52bcd
CompiledValue -> ExactValue
2020-01-25 18:09:44 +01:00
Dave Halter
517fa27dc6
Revisit caching of mixed
2020-01-25 17:58:12 +01:00
Dave Halter
329329c195
Make MixedName a Namewrapper instead of inheritance
2020-01-25 17:54:19 +01:00
Dave Halter
8bde54a072
Remove underscore_memoization caching method
2020-01-25 17:29:52 +01:00
Dave Halter
235b887b75
Refactor MixedName quite a bit
2020-01-25 16:56:01 +01:00
Dave Halter
da2a55c73f
Fix issue with mixed objects, fixes #1480
2020-01-25 15:02:55 +01:00
Dave Halter
0435e0e85c
Remove some dead code
2020-01-25 13:25:23 +01:00
Dave Halter
9c0efd5a67
Prepare a test for #1479
2020-01-25 01:07:20 +01:00
Dave Halter
066b8b7165
Avoid a print in tests
2020-01-24 22:11:52 +01:00
Dave Halter
7683c05de3
Fix value/context mixup in mixed, fixes #1479
2020-01-24 22:09:25 +01:00
Dave Halter
eaa49aa26b
Clarify that for Python 2 we will not fix bugs anymore
2020-01-24 14:09:43 +01:00
Dave Halter
3f6a718c34
Skip a test in Python 2
2020-01-24 14:08:18 +01:00
Dave Halter
6cfcba0d97
Use is_compiled instead of isinstance checks
2020-01-24 13:12:48 +01:00
Dave Halter
4d3f314baa
Create CompiledModule to have a better differentiation between compiled modules and compiles values
2020-01-24 13:01:54 +01:00
Dave Halter
e3e6727a2d
Make sure that the builtin docstring works again for infer calls
2020-01-24 12:49:39 +01:00
Dave Halter
b985a380bc
Fix a bug with version_info, fixes #1477
2020-01-24 11:04:50 +01:00
Dave Halter
11b61596e0
Make sure that del_stmt as a name can be handled, see #313
2020-01-23 23:58:52 +01:00
Dave Halter
290e2151df
Remove use_filesystem_cache and additional_dynamic_modules, it hasn't been implemented for a long time
2020-01-23 23:37:36 +01:00
Dave Halter
cc8a3f192d
Removed settings.no_completion_duplicates
2020-01-23 23:16:02 +01:00
Dave Halter
0c56aa4d4b
Make sure to stop gathering buildout paths at a certain point, fixes #1325
2020-01-22 23:31:27 +01:00
Dave Halter
6a75a0c590
Rewrite some whitespace
2020-01-22 23:14:07 +01:00
ANtlord
8440e1719f
Unuseful changes are rolled back.
2020-01-22 20:57:17 +02:00
ANtlord
ddcd48edd8
Typeshed submodule checked out to d386452
2020-01-22 20:55:25 +02:00
Dave Halter
7e98c9449b
Reformat the changelog a bit
2020-01-22 18:31:49 +01:00
Dave Halter
dbdd556a2b
Add follow_imports to Definition.goto, fixes #1474
2020-01-22 18:29:02 +01:00
ANtlord
9bc01da9c4
Fix conflicts.
2020-01-22 11:12:09 +02:00
Dave Halter
5c68304bec
Raise a proper exception instead of assert in case only_stubs and prefer_stubs are given
2020-01-22 10:00:10 +01:00
Dave Halter
59e7bacfae
Make sure a certain test passes as well with tox
2020-01-22 01:29:56 +01:00
Dave Halter
318fab8682
Fix a Python 2 issue
2020-01-22 01:25:26 +01:00
Dave Halter
bff6e95e28
Rename Script.names to Script.get_names, fixes #1476
2020-01-22 01:22:46 +01:00
Dave Halter
8cc836e816
find_signatures -> get_signatures, see #1476
2020-01-22 01:10:38 +01:00
Dave Halter
58f54d8391
find_references -> get_references, see #1476
2020-01-22 01:06:37 +01:00
Dave Halter
9d7858eb3a
Fix remaining tests
2020-01-22 00:36:30 +01:00
Dave Halter
6df755e8b6
Reduce limits of files to parse by quite a bit
2020-01-21 22:51:57 +01:00
ANtlord
2a86f7d82f
Django-plugin related code is removed from stdlib-plugin.
2020-01-21 21:21:43 +02:00
ANtlord
7287d67e7a
Functions infers type of Django model field is refactored.
2020-01-21 21:12:38 +02:00
Dave Halter
44ba40958e
Make sure that CompiledObject doesn't have a file_io
2020-01-21 18:29:40 +01:00
Dave Halter
d9960081f5
Use different limits for references and dynamic calls
2020-01-21 09:22:16 +01:00
Dave Halter
c12cbf2106
Explain why the references limits were chosen
2020-01-20 17:24:21 +01:00
Dave Halter
6e10313cca
Start limiting opened files and parsed files for references
2020-01-20 17:13:22 +01:00
Dave Halter
28027a3fee
Remove a few imports
2020-01-20 16:59:22 +01:00
Dave Halter
a246624f70
Make sure to not scan the same directory multiple times
2020-01-20 10:33:37 +01:00
Dave Halter
621bd7d1db
Don't search for usages when we are working with params
2020-01-20 02:14:46 +01:00
Dave Halter
445dc2411e
Ignore .gitignore in get_references and therefore make get_references usable again
2020-01-20 02:03:58 +01:00
Dave Halter
ed36efabeb
Revisit reference finding, scan a lot of folders
2020-01-20 01:43:51 +01:00
Dave Halter
62a77dcd16
Added FolderIO.walk and FolderIO.get_base_name
2020-01-20 00:36:18 +01:00
ANtlord
c61ca0d27b
Infering of django model fields is moved to a dedicated module.
2020-01-19 18:46:28 +02:00
Dave Halter
26f0fa9eb0
Move get_module_contexts_containing_name to the references module
2020-01-17 22:51:09 +01:00
Dave Halter
4cd2b9a355
Apparently this one variable is needed
2020-01-17 02:15:06 +01:00
Dave Halter
eb103d293c
Small changelog fix
2020-01-17 02:03:42 +01:00
Dave Halter
4931180df1
Forgot to use sudo for installing dependencies in travis
2020-01-17 01:43:23 +01:00
Dave Halter
2937c95e9e
Another few travis fixes
2020-01-17 01:30:54 +01:00
Dave Halter
f53b08516d
Don't run some usage tests on Python 2
2020-01-17 01:26:40 +01:00
Dave Halter
c6ca889927
Interpreter test fix for travis config
2020-01-17 00:36:09 +01:00
ANtlord
a6dfc130c9
Foreign key is handled.
2020-01-16 15:40:45 +02:00
Dave Halter
3645ea0557
Add a few more stub usage tests
2020-01-15 00:30:31 +01:00
Dave Halter
df7080c1da
Disable flow analysis for finding usages
2020-01-14 18:37:10 +01:00
Dave Halter
a098bf28af
Add another stub usage test
2020-01-14 01:29:37 +01:00
Dave Halter
8bcd1f5fd9
Fix stub conversion
2020-01-14 01:08:26 +01:00
Dave Halter
e1564da23d
Make sure to find both stubs and non-stubs with usages
2020-01-13 20:45:53 +01:00
Dave Halter
9c1063c35a
Use the proper fixture
2020-01-12 23:58:49 +01:00
Dave Halter
c3503672d5
Implement interpreter test on travis
2020-01-12 20:51:40 +01:00
Dave Halter
c56dae4835
Get interpreter environment tests working
2020-01-12 20:47:51 +01:00
Dave Halter
591e3c4565
Make sure tests are proper packages, so that pytest doesn't do shenannigans with sys path
2020-01-12 19:58:29 +01:00
Dave Halter
4fb595f422
Remove NestedImportModule, because it hasn't been used in years
2020-01-12 13:42:50 +01:00
Dave Halter
11a12d6ca8
Refactor execute_operation a bit
2020-01-12 13:01:08 +01:00
Dave Halter
bd2ed8dbbd
Finally get rid of call_of_leaf
2020-01-12 03:06:52 +01:00
Dave Halter
a17d4d9e16
Refactor the isinstance checks a bit
2020-01-12 02:00:27 +01:00
Dave Halter
700dd9380a
Makes sure examples are excluded from pytest
2020-01-12 01:22:12 +01:00
Dave Halter
4f6116ac6e
speed test to examples
2020-01-12 01:21:26 +01:00
Dave Halter
cc34c7d4f3
Move not_in_sys_path tests to examples
2020-01-12 00:55:01 +01:00
Dave Halter
796a2b4df5
Move namespace tests to examples
2020-01-12 00:51:42 +01:00
Dave Halter
f3919823fb
Moved zipped imports test files
2020-01-12 00:43:36 +01:00
Dave Halter
46f8e53e71
Move sample_venvs to examples
2020-01-12 00:30:05 +01:00
Dave Halter
8dc7f2d899
Move the extension test to examples
2020-01-12 00:26:01 +01:00
Dave Halter
c79269b3ee
Move another test to examples
2020-01-12 00:09:48 +01:00
Dave Halter
1e27491545
Remove unused test code
2020-01-12 00:07:27 +01:00
Dave Halter
f31c90926e
Move implicit namespace package code to example dir
2020-01-11 22:25:12 +01:00
Dave Halter
8459b02a98
Move flask tests to examples folder
2020-01-11 22:01:33 +01:00
Dave Halter
ba6154c314
Move the absolute import test files
2020-01-11 21:59:21 +01:00
Dave Halter
095f1295af
Avoid a bug that a compiler might have found, fixes #1469
2020-01-11 21:35:39 +01:00
Dave Halter
4f56ec5daf
Make sure the latest changes work with Python 3.6/3.7
2020-01-10 15:14:22 +01:00
Dave Halter
3ba68b5bc6
Properly convert compiled values to generic classes
2020-01-10 15:09:16 +01:00
Dave Halter
cac73f2d44
Make Union/Optional works with compiled objects
2020-01-10 13:34:10 +01:00
Dave Halter
ba7776c0d9
Make sure that CompiledValue can deal with string annotations
...
Fixes #952
Inspired by #1461
2020-01-10 12:40:24 +01:00
Dave Halter
072d506302
Avoid a few warnings
2020-01-10 11:59:11 +01:00
Dave Halter
76a4820926
Skip a test that doesn't work in Python 2
2020-01-10 10:30:53 +01:00
Dave Halter
10c5990614
Remove a statement that didn't make sense
2020-01-07 22:20:36 +01:00
Dave Halter
a0536bd854
Remove a method that was not necessary
2020-01-07 18:42:06 +01:00
Dave Halter
800ab65701
Fix a bug where parent_context was a value
2020-01-07 11:27:36 +01:00
Dave Halter
fdb5071bec
Fix some issues with converting names, see #1466
2020-01-07 10:59:15 +01:00
Dave Halter
a17b56f260
Use one single way to convert stubs to Python, see #1466
2020-01-07 10:02:31 +01:00
Dave Halter
9b9cacfbf9
Make sure to use _stub_to_python_value_set for all conversions, see #1466
2020-01-07 01:27:50 +01:00
Dave Halter
d8deceb4b1
Make sure fixture resolving works in conftest.py, see #791
2020-01-06 23:27:25 +01:00
Dave Halter
9c4cd40b7e
Fix signatures when used for Generic classes, fixes #1468
2020-01-06 09:40:57 +01:00
Dave Halter
4243d01560
Make sure inheritance works for fixtures, fixes #791
2020-01-05 19:13:56 +01:00
Dave Halter
5da9f9facd
Add a test to check if numpy tensorflow stuff is now cached, see #1116
2020-01-05 18:29:02 +01:00
Dave Halter
ea0972d7ac
Make sure to check the module cache before loading a module (again)
...
This hopefully results in some performance improvements (maybe numpy?).
2020-01-05 18:28:34 +01:00
Dave Halter
bf446f2729
Add a completion cache for numpy/tensorflow, fixes #1116
2020-01-05 18:13:24 +01:00
Dave Halter
1cdeee6519
Ignore processing param names, fixes #520
2020-01-05 02:38:54 +01:00
Dave Halter
cc1664c69a
Avoid using params in tests and use get_signatures().params
2020-01-05 02:09:22 +01:00
Dave Halter
a7415be0ea
Make sure params have no name
2020-01-05 01:55:29 +01:00
Dave Halter
74fc29be9a
Make sure that kwargs are not repeated when they are inferred
2020-01-05 01:48:10 +01:00
Dave Halter
aca2a5a409
Undo finding signatures for everything and only do it for stubs and non-statements for when used in docstrings
2020-01-04 16:00:07 +01:00
Dave Halter
088fca2f8e
Fix an issue with the is_big_annoying_library function, see #520
2020-01-04 13:33:06 +01:00
Dave Halter
1813105b69
Make sure decorators are also not inferred for big annoying libraries, see #520
2020-01-04 13:26:55 +01:00
Dave Halter
e30385465c
Make sure the repr of compiled access isn't huge
2020-01-04 13:10:46 +01:00
Dave Halter
47d3aa73dc
Disable some features for big annoying libraries like pandas, tensorflow, see #520
2020-01-04 02:39:36 +01:00
Dave Halter
441ede2c7f
Fix a debug message
2020-01-04 01:32:02 +01:00
Dave Halter
dfc6ea8ce2
Fix a small issue
2020-01-04 01:19:12 +01:00
Dave Halter
673ea0c5a5
Little refactoring
2020-01-03 10:38:00 +01:00
Dave Halter
0e707d3824
Remove the old definition tests
...
The reason for this is that they haven't been used in years and don't really
make sense, because the way we now resolve parentheses is by executing the
result.
IMO this was a good patch at the time, but doesn't make sense anymore. Let me
know if you disagree ~dave.
2020-01-03 00:59:17 +01:00
Dave Halter
92a2e17a9e
Remove get_signatures again from names
2020-01-03 00:54:13 +01:00
Dave Halter
3b6bbab556
Infer doctests and signatures uniformly, fixes #1466
2020-01-03 00:45:14 +01:00
Dave Halter
2d31e2e760
Fix a small pytest fixture bug
2020-01-03 00:03:32 +01:00
Dave Halter
bac91652ea
Raise a deprecation warning on Definition.params
2020-01-02 16:11:58 +01:00
Dave Halter
67b720d939
Remove a weird assert
2020-01-02 01:58:21 +01:00
Dave Halter
ff96b052d0
Make sure coverage works again
2020-01-02 01:28:30 +01:00
Dave Halter
9824929ad1
Use Python 3.7 for calculating test coverage
2020-01-02 00:23:25 +01:00
Dave Halter
a36d609756
Remoeve dead code
2020-01-01 23:23:29 +01:00
Dave Halter
04a738c014
Remove unnecessary code
2020-01-01 23:11:02 +01:00
Dave Halter
0a53ce5136
Separate getting docstrings and getting signatures for names, see discussion #1466
2020-01-01 23:05:06 +01:00
Dave Halter
bb3a81c578
LazyInstanceClassName -> Use NameWrapper
2020-01-01 20:27:07 +01:00
Dave Halter
54bd0b437f
Make sure that equals will only be added to keyword arguments and not just randomly
2020-01-01 19:00:17 +01:00
Dave Halter
9dc18054ee
Make some test code prettier
2020-01-01 17:36:42 +01:00
Dave Halter
cab7c6fdc7
Remove some skips around attribute docstrings
2020-01-01 17:30:25 +01:00
Dave Halter
1cc8f96f26
Add some more dict completion tests with whitespace
2020-01-01 17:14:11 +01:00
Dave Halter
47e2cf95d2
Change ModuleValue param order and add defaults
2020-01-01 17:07:19 +01:00
Dave Halter
cf1f66600c
Make sure to pass tests again on Python 3.4
2020-01-01 16:15:21 +01:00
Dave Halter
8770e12d16
Make sure that include_signature always works, fixes #1466
2020-01-01 16:10:19 +01:00
Dave Halter
8e2bfdc07e
Add a test for #1465
2020-01-01 14:03:42 +01:00
Dave Halter
ce748e6dc7
Skip dict key completion tests for Python 3.5, because it's just annoying with all the f-string stuff
2020-01-01 13:13:10 +01:00
Dave Halter
4837822e32
Revert "Use the root implementation for get_root_context"
...
Was not able to pass the tests with it.
This reverts commit ba6cd1e2d4 .
2020-01-01 12:18:44 +01:00
Dave Halter
3ae0bb9805
Added debug.warning to coveragerc, it's not relevant
2020-01-01 03:28:21 +01:00
Dave Halter
829ee0e6b0
Remove unused code
2020-01-01 03:27:17 +01:00
Dave Halter
ba6cd1e2d4
Use the root implementation for get_root_context
2020-01-01 03:24:09 +01:00
Dave Halter
87a0566637
Add github sponsor FUNDING.yml file
2020-01-01 03:16:03 +01:00
Dave Halter
57e18da7ae
Merge branch 'qa' of https://github.com/blueyed/jedi
...
Made some slight adaptions
2020-01-01 03:14:49 +01:00
Dave Halter
8cdd9d3de5
Get rid of most flake8 errors
2020-01-01 02:43:57 +01:00
Dave Halter
66ad620692
Get rid of a lot of flake8 errors
2020-01-01 02:42:31 +01:00
Dave Halter
818577f423
Make sure to get completions for backticks in docstrings work, see #860
2020-01-01 01:53:55 +01:00
Dave Halter
cea7a12908
Some more clarifications around docstrings, see #860
2020-01-01 01:45:58 +01:00
Dave Halter
50c5eb5786
Get doctest completions working, fixes #860
2020-01-01 00:59:44 +01:00
Dave Halter
8914bbbcc3
Fix tests, skip more Python 2
2019-12-31 22:43:32 +01:00
Dave Halter
dfd7910dd3
Make sure test prefixed functions are checked for pytest fixtures, see #791
2019-12-31 21:31:58 +01:00
Dave Halter
1da0a7bd58
Make sure pytester is also used for fixtures, see #791
2019-12-31 21:30:56 +01:00
Dave Halter
e4cf9293c2
Clarify a sentence around virtualenv security, see #1250
2019-12-31 19:20:59 +01:00
Dave Halter
c8b3443d5f
Add the CHANGELOG entries for dict completions.
2019-12-31 19:12:15 +01:00
Dave Halter
469ddc281d
Merge branch 'dict', fixes #951
2019-12-31 19:05:15 +01:00
Dave Halter
cf26ede702
Add some more tests to check if getitem on stuff like dict(f=3) works
2019-12-31 19:04:37 +01:00
Dave Halter
5853c67906
Write tests for dict getitem
2019-12-31 18:53:35 +01:00
Dave Halter
83ce8b1162
Make the completions possible for Interpreter objects
2019-12-31 18:34:50 +01:00
Dave Halter
b7a8929905
Add a few more tests for dict completions
2019-12-31 11:23:54 +01:00
Dave Halter
ca13c44788
Make sure to avoid duplicates in completions
2019-12-31 11:16:11 +01:00
Dave Halter
94a97ff8e8
Fix remaining issues with dict completions
2019-12-30 22:59:01 +01:00
Dave Halter
46ac4371df
Make most dict completions possible
2019-12-30 14:15:32 +01:00
Dave Halter
9fa4811425
Get dict completions mostly working
2019-12-30 03:34:18 +01:00
Dave Halter
7e769b87f3
Fix some more dict tests
2019-12-30 00:29:55 +01:00
Dave Halter
c7296ade68
Merge branch 'master' into dict
2019-12-28 12:17:04 +01:00
Dave Halter
eff670679c
Make sure to mention that Jedi understands Pytest fixtures
2019-12-28 00:02:40 +01:00
Dave Halter
3ec73f1da3
Fix namedtuple issues that were uncovered by the 'self' changes
2019-12-27 23:57:22 +01:00
Dave Halter
cc136a2879
Self manipulations are now more correct, fixes #1392
2019-12-27 19:00:29 +01:00
Dave Halter
73161fe72e
Skip pytest tests when environments is not the same one
2019-12-27 16:54:11 +01:00
Dave Halter
35fb8a942c
Make sure pytest stdlib fixtures are completable
2019-12-27 16:28:07 +01:00
Dave Halter
e86487cb96
Make sure the monkeypatch fixture completion works
2019-12-27 16:13:20 +01:00
Dave Halter
b4163a3912
Merge branch 'pytest', fixes parts of #791
2019-12-27 14:13:46 +01:00
Dave Halter
dc3d6a3975
Fix python 2 tests
2019-12-27 14:13:35 +01:00
Dave Halter
0931c5492d
Fix tests
2019-12-27 13:30:53 +01:00
Dave Halter
7715655c96
Fix selection of what is a pytest fixture and what isn't
2019-12-27 13:26:31 +01:00
Dave Halter
4c22f4dbb1
Fix completion for non-pytest params
2019-12-27 13:02:16 +01:00
Dave Halter
31936776a5
Make completion of pytest fixtures possible
2019-12-27 12:29:18 +01:00
Dave Halter
8611fcf8ea
Fix some tests
2019-12-27 11:59:40 +01:00
Dave Halter
ff0e3ec8fb
Fix _BuiltinMappedMethod to use a ValueWrapper
2019-12-27 11:52:14 +01:00
Dave Halter
a8782d0070
Make sure param completions work the right way
2019-12-27 11:48:39 +01:00
Dave Halter
70bf3d9586
Deprecate Python 2 support
2019-12-27 11:29:39 +01:00
Dave Halter
8c737ba17e
Make goto work for pytest fixtures
2019-12-27 10:51:49 +01:00
Dave Halter
5a54d94aa5
Make sure that infering params is possible from the API
2019-12-27 10:36:13 +01:00
Dave Halter
02320f832d
Check better for when something is a picture
2019-12-27 02:12:02 +01:00
Dave Halter
148fffae28
Make yield pytest fixtures work
2019-12-27 01:50:17 +01:00
Dave Halter
c45c8ec8ef
Get some pytest fixtures working with some side effects
2019-12-27 01:04:01 +01:00
Dave Halter
dd89325441
Make sure py__name__ and name are defined on all values
2019-12-27 00:31:58 +01:00
Dave Halter
82ed28955d
Fix tests
2019-12-25 15:02:35 +01:00
Dave Halter
f3c8bc10f5
Keyword completion after ... should not work, fixes davidhalter/jedi-vim#506
2019-12-25 14:44:25 +01:00
Dave Halter
9fb94bb621
Fix python 2 environment finalizing, fixes #1412
2019-12-25 14:32:06 +01:00
Dave Halter
3e478cc6bb
Remove a function that did nothing anymore
2019-12-25 03:54:16 +01:00
Dave Halter
a4a0d482a2
Make sure modules for dynamic searches are not checked twice
2019-12-25 03:53:45 +01:00
Dave Halter
3b2dddd1d3
Make sure classmethod param completion works better for the first param
2019-12-25 03:39:37 +01:00
Dave Halter
110d89724e
Make sure staticmethod params are (mostly) inferred correctly, fixes #735
2019-12-24 21:32:12 +01:00
Dave Halter
7a988d9d8b
Python 2 test fixes
2019-12-24 19:52:44 +01:00
Dave Halter
6daa03e98d
Add the fix for #997 to the changelog
2019-12-24 12:51:14 +01:00
Dave Halter
9578e4252b
Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
2019-12-24 12:49:23 +01:00
Dave Halter
a21f443756
Fix a few tests
2019-12-24 12:32:13 +01:00
Dave Halter
1d17033717
Add support for completion even when __getattr__ is present, fixes #997
2019-12-24 01:44:53 +01:00
Dave Halter
eca8278eef
Fix an error recovery goto issue, fixes davidhalter/jedi-vim#962
2019-12-23 10:09:45 +01:00
Dave Halter
d9383f1927
Add a test to make sure some renamings work always
...
fixes davidhalter/jedi-vim#552
2019-12-23 00:48:01 +01:00
Dave Halter
1087b62e95
Refactor references: Matching more names that might be related
...
Fixes davidhalter/jedi-vim#900 .
See also davidhalter/jedi-vim#552 .
2019-12-23 00:41:22 +01:00
Dave Halter
f2a64e24c8
Catch an additional case for get_context where the cursor is e.g. on the function name
2019-12-22 17:35:40 +01:00
Dave Halter
fcf8506531
Add Script().get_context, fixes #253
2019-12-22 17:19:01 +01:00
Dave Halter
22c3beffd0
Fix some issues with Definition.parent()
2019-12-22 15:37:53 +01:00
Dave Halter
0202d4ed0a
Test parents a bit better
2019-12-22 14:32:07 +01:00
Dave Halter
63a9418bd5
Refactor tests a bit
2019-12-22 02:32:31 +01:00
Dave Halter
fc785ce6ea
Attribute docstrings work now, fixes #138
2019-12-22 02:05:40 +01:00
Dave Halter
4161bfc7f2
Avoid some duplication of code
2019-12-22 01:24:50 +01:00
Dave Halter
290d1c151a
Remove the _Help class completely
2019-12-21 20:07:43 +01:00
Dave Halter
fcede44c2a
Move the docstring checking code to the names
2019-12-21 20:06:37 +01:00
Dave Halter
536fd8c7c0
Add the Script.help function, fixes #392
2019-12-21 12:46:58 +01:00
Dave Halter
341d79681a
Add big API changes to Changelog
2019-12-21 03:12:28 +01:00
Dave Halter
66a36c3b94
Merge branch 'api', fixes #1166
2019-12-20 20:05:10 +01:00
Dave Halter
fcecac20ec
Add tests to fix all the deprecations
2019-12-20 20:03:12 +01:00
Dave Halter
9e818dc377
Test setting line/column multiple times
2019-12-20 20:03:00 +01:00
Dave Halter
e5496381f3
sith now also uses the new API
2019-12-20 19:45:20 +01:00
Dave Halter
5fc308f1f8
call signature -> signature
2019-12-20 19:41:57 +01:00
Dave Halter
694b05bb8c
usage -> reference
2019-12-20 19:26:33 +01:00
Dave Halter
bd861e40a8
Rename references file
2019-12-20 19:25:46 +01:00
Dave Halter
e1d787821b
usages -> find_references
2019-12-20 19:23:26 +01:00
Dave Halter
adff6d34a4
goto_assignment -> goto everywhere where it was left
2019-12-20 19:15:41 +01:00
Dave Halter
d7d9c9642a
Don't use goto_definitions anymore, use infer
2019-12-20 19:06:24 +01:00
Dave Halter
4bbaec68e8
Make sure goto_definitions is no longer used in the main code
2019-12-20 18:47:04 +01:00
Dave Halter
dbb61357c3
Make sure that jedi.names is not references anymore
2019-12-20 18:04:47 +01:00
Dave Halter
f90aeceb27
Move names to Script and mark deprecations
2019-12-20 17:55:45 +01:00
Dave Halter
7f8ba17990
Get rid of all completions usages
2019-12-20 17:47:37 +01:00
Dave Halter
5bf6e7048b
A few renames for readability in the api/completion.py file
2019-12-20 17:40:04 +01:00
Dave Halter
ebe9921208
Try to use the new API names everywhere
2019-12-20 17:29:42 +01:00
Dave Halter
f03c70e577
Refactor run.py to use the new API
2019-12-20 17:25:44 +01:00
Dave Halter
2cc898ba35
Get rid of completions in tests
2019-12-20 16:54:51 +01:00
Dave Halter
38460ce9d7
Use complete instead of completions in test_api/
2019-12-20 16:16:01 +01:00
Dave Halter
2b5af19989
Fix signature issues
2019-12-20 16:14:01 +01:00
Dave Halter
bcf726054e
Make sure the line numbers are validated for the new API methods
2019-12-20 16:00:49 +01:00
Dave Halter
1514695fc1
usages -> find_references, see #1166
2019-12-20 15:46:17 +01:00
Dave Halter
f32b0aebeb
call_signatures -> find_signatures
2019-12-20 15:41:20 +01:00
Dave Halter
6c7b8f669f
goto_definitions -> infer; goto_assignments -> goto, see #1166
2019-12-20 15:35:19 +01:00
Dave Halter
87d5334b9e
completions -> complete, see #1166
2019-12-20 15:30:35 +01:00
Dave Halter
cefc4a46a3
Add latest changes to Changelog
2019-12-20 14:57:58 +01:00
Dave Halter
39605bfa08
Make sure goto_assignments is no longer used on Definition
2019-12-20 14:43:20 +01:00
Dave Halter
1f4be4bc51
Make sure that goto is used instead of goto_assignments
2019-12-20 14:31:42 +01:00
Dave Halter
afbd8cad89
Don't test Python 3.4 in tox anymore by default
2019-12-20 11:52:19 +01:00
Dave Halter
0194efcd6b
Add the release date to Changelog
2019-12-20 11:26:55 +01:00
Dave Halter
96156dd5df
Jedi needs at least parso 0.5.2 now
2019-12-20 11:00:37 +01:00
Dave Halter
095a9c530a
Fix a rb byte literal test
2019-12-20 10:49:28 +01:00
Dave Halter
45edfbdeeb
Goto definition doesn't work on strings anymore, fixes microsoft/vscode#81520
2019-12-20 10:29:54 +01:00
Dave Halter
540a57766d
Make sure that sequence literals have the right generic classes, fixes #1416
2019-12-20 01:33:41 +01:00
Dave Halter
e56d4fde98
Improved Generic subclass matching
2019-12-20 01:33:41 +01:00
Dave Halter
51e2e90dce
Make sure overload checks work for TypeAlias, see #1416
2019-12-20 01:33:41 +01:00
Dave Halter
902b355aea
Avoid recursion in a specific example, see also #1458
2019-12-20 01:33:41 +01:00
Tim Gates
542a2a339e
Fix simple typo: wheter -> whether ( #1460 )
...
Closes #1459
2019-12-17 10:05:21 +01:00
Dave Halter
41a6591d88
Completions.complete returns None for fuzzy completions #1409
2019-12-15 19:56:56 +01:00
Dave Halter
f91f655d55
Cleanup fuzzy tests a bit, see #1409
2019-12-15 19:50:43 +01:00
Dave Halter
49eb2c0a12
Add fuzzy completions to Changelog
2019-12-15 19:12:48 +01:00
Dave Halter
ec2391c74f
Merge branch 'feature_827_fuzzy_search' of https://github.com/jmfrank63/jedi
2019-12-15 19:08:33 +01:00
Dave Halter
0ce414eb94
Python 2 compatibility
2019-12-15 18:52:16 +01:00
Dave Halter
38eb2c9ba3
Make sure that the definition order in stubs are ignored
2019-12-15 18:41:41 +01:00
Dave Halter
9d35adda02
Make sure that a goto on stubs even without the implementation is possible
2019-12-15 18:00:09 +01:00
Dave Halter
6e2a76feb9
Fix a goto case with nested pyi files
2019-12-15 17:37:24 +01:00
Dave Halter
35442eff81
Catch some cases were _sqlite3.Connection was misidentified as sqlite3.Connection
2019-12-15 16:15:55 +01:00
Dave Halter
8fc84a2aaa
Rename goto_changes to options
2019-12-15 14:36:36 +01:00
Dave Halter
7bdedb40e3
Fix: Stubs in typeshed weren't loaded properly sometimes, fixes #1434
2019-12-14 21:33:00 +01:00
Dave Halter
3219f14c63
Files bigger than one MB (about 20kLOC) get cropped to avoid getting stuck completely
...
Fixes #843
2019-12-14 12:39:40 +01:00
Dave Halter
7639bc2da9
Upgrade typeshed, fixes #1084
2019-12-14 11:38:37 +01:00
Dave Halter
5bc6ce231b
Add a typeshed README
2019-12-14 11:27:52 +01:00
Dave Halter
a6bf49783f
Make sure param annotation completions work
2019-12-14 02:55:11 +01:00
Dave Halter
621e280451
Make sure that you can select virtualenvs more precisely, fixes #1407
2019-12-13 21:00:34 +01:00
Dave Halter
6b9add4264
Python 2 compatibility
2019-12-13 16:58:56 +01:00
Dave Halter
92c59180fd
Make sure goto definitions works on with, fixes #1280
2019-12-13 16:57:18 +01:00
Dave Halter
923fcf95d9
Make sure that __getattr__ is always working with Interpreter
...
fixes #1378
2019-12-13 16:07:38 +01:00
Dave Halter
902f0754e0
qualified names can be None, so we need to handle it
2019-12-13 14:36:05 +01:00
Dave Halter
12b07a435d
Cleanup some callbacks
2019-12-13 12:47:55 +01:00
Dave Halter
b9f8a7f52e
Make sure that Python 2 passes a test on more systems
2019-12-13 12:28:03 +01:00
Dave Halter
769b3556d2
Make sure warnings are not shown if a property is executed, fixes #1383
2019-12-13 01:48:56 +01:00
Dave Halter
5e3e268cc6
Fix RecursionError: global statements in modules should just be ignored, fixes #1457
2019-12-13 00:21:36 +01:00
Dave Halter
e656a5f18f
Make it possible to infer Callable TypeVars, fixes #1449
2019-12-12 23:46:55 +01:00
Dave Halter
536a77551b
Account for sys path potentially not being all unicode in typeshed, fixes #1456
...
This is a bit stupid, but don't care too much, it will get removed soon, when
Python 2 support is going to get removed.
2019-12-11 00:30:37 +01:00
Dave Halter
a2cebc4b92
Make sure docstrings can always be inferred for builtins modules, fixes #1432
2019-12-11 00:06:58 +01:00
Dave Halter
3065609162
Forgot to add some test files
2019-12-09 19:26:24 +01:00
Dave Halter
8e33fd1931
Get the context of a class name right, fixes #1396
2019-12-09 09:56:03 +01:00
Dave Halter
ed3fdf8876
Make sure classmethod signatures don't include cls, fixes #1455
2019-12-09 08:58:59 +01:00
Dave Halter
46982ce42b
Add a test to show that type var inference also works for tuples
2019-12-09 00:26:18 +01:00
Dave Halter
28ecc2709a
Don't use globals anymore
2019-12-09 00:15:21 +01:00
Dave Halter
33224ae7e1
Remove a duplicate method
2019-12-09 00:11:51 +01:00
Dave Halter
d9260bf78b
More docstrings
2019-12-09 00:07:07 +01:00
Dave Halter
a51dc54759
A bit better documentation
2019-12-09 00:02:44 +01:00
Dave Halter
5acbb06315
Refactor so typing uses BaseTypingValueWithGenerics
...
This makes it finally possible to use type vars with Callable and some other classes.
Fixes #1413
2019-12-08 23:50:57 +01:00
Dave Halter
7319f8bf2c
Make some more classes private for inference.gradual.base
2019-12-08 23:15:31 +01:00
Dave Halter
d9ddaa31ae
Use _create_instance_with_generics
2019-12-08 23:09:55 +01:00
Dave Halter
5874b0bd69
The generics manager is now part of DefineGenericBase
2019-12-08 23:03:15 +01:00
Dave Halter
9eef771ec5
Remove get_index_and_execute and use something else
2019-12-08 22:55:52 +01:00
Dave Halter
9e6c53151b
_InstanceWrapper to _GenericInstanceWrapper
2019-12-08 22:47:07 +01:00
Dave Halter
84d10657a3
Another rename for readability
2019-12-08 22:46:35 +01:00
Dave Halter
5c4b3da45d
Merge GenericClass and _AbstractAnnotatedClass
2019-12-08 22:45:30 +01:00
Dave Halter
ad92882c48
Use the generics manager for all the typing classes
2019-12-08 22:42:01 +01:00
Dave Halter
8213d183fb
Start using generic managers, for #1413
2019-12-08 21:56:30 +01:00
Dave Halter
4fca7bd22d
Start working on generic managers, see #1413
2019-12-08 20:35:00 +01:00
Dave Halter
c112858a1c
Move iter_over_arguments to a separate file
2019-12-08 20:14:15 +01:00
Dave Halter
deaa7265dd
value_of_index -> context_of_index
2019-12-08 20:09:53 +01:00
Dave Halter
72fc85f4c3
Try to prepare DefineGenericBase for a more general usage
2019-12-08 19:58:00 +01:00
Dave Halter
df697cfb03
Make AbstractAnnotatedClass private
2019-12-08 19:00:26 +01:00
Dave Halter
fd054d1add
Move parts of AbstractAnnotatedClass to the new class DefineGenericBase
2019-12-08 18:58:28 +01:00
Dave Halter
95763f0bb0
Formatting
2019-12-08 18:23:55 +01:00
Dave Halter
aab0002950
Rename two classes to make some things clearer
2019-12-07 15:32:59 +01:00
Dave Halter
ddbb87fd1d
Make some lines shorter
2019-12-07 15:29:56 +01:00
Dave Halter
bc99fbdfea
Remove an unused InstanceArguments
2019-12-07 15:27:26 +01:00
Dave Halter
48ac0c9421
Move more stuff from gradual/typing.py to gradual/base.py
2019-12-07 15:27:14 +01:00
Dave Halter
37a9d1536c
Remove TypingName, it looks like it's not used
2019-12-07 15:12:27 +01:00
Dave Halter
3dbe5c10ae
Start splitting up gradual/typing.py
2019-12-07 15:11:50 +01:00
Dave Halter
ab8f0ba834
Make sure Callable TypeVars are better identified, solves a part of #1413
2019-12-07 15:02:41 +01:00
Dave Halter
4bd7c2e627
Remove a TODO that was implemented
2019-12-07 14:56:20 +01:00
Dave Halter
1f73c65dcd
Pin colorama to a version that works for Python 3.4
2019-12-07 01:09:36 +01:00
Shane Steinert-Threlkeld
bd5909e7b2
Find active conda environment and set it as default (if there is one) ( #1440 )
...
* add detection of conda environments
* changed get_default_environment to look for conda
* updated comment on get_default_environment to mention CONDA_PREFIX
* added myself to authors
* simple fix for mistaken conda paths
2019-12-07 01:04:41 +01:00
Dave Halter
6f70e759a4
Remove Python 3.4 test from appveyor
...
3.4 is end-of-life anyway so it doesn't really matter. It's also still tested
to a certain degree on travis and with the test environments. So this change
doesn't really mean much except a lower maintenance burden.
2019-12-07 01:02:18 +01:00
Dave Halter
0474371f23
Make sure overload signatures work, see #1417
2019-12-07 00:30:37 +01:00
ANtlord
654475b7d6
Infering multiple fields is fixed.
2019-12-06 23:58:13 +02:00
ANtlord
fbeff00761
Decimal, DurationField, DateField, DateTimeField, DecimalField django types are resolved.
2019-12-06 23:47:19 +02:00
Dave Halter
c582545628
Shorten a line to < 100 chars
2019-12-06 16:41:47 +01:00
Dave Halter
759808e8bb
Fix a tuple test
2019-12-05 20:01:27 +01:00
Dave Halter
36b800f8d3
Make sure that Tuple autocompletes properly, fixes #1389
2019-12-05 18:55:33 +01:00
Dave Halter
7e64bfa075
Avoid more Python 2
2019-12-05 17:44:47 +01:00
Dave Halter
54f4bd0bad
Fix issues with interpreter completions on unittest.mock.
...
For 3.6+ an error was ignored that lead to crashes. In 3.5 the OOM killer
eventually arrived...
Fixes #1415
2019-12-05 10:09:22 +01:00
Dave Halter
cf65ecdb96
Start writing the changelog
2019-12-05 01:13:52 +01:00
Dave Halter
700bd12122
Improve call signature detection by a lot
...
Fixes #1399
2019-12-04 23:55:26 +01:00
Dave Halter
4ba3dc69b3
Make sure we use the right context in case of goto with decorators, fixes #1427
2019-12-04 00:25:43 +01:00
Dave Halter
b8a1f6da55
Python 2 still sucks.
2019-12-03 23:41:33 +01:00
Dave Halter
19aa50bb7f
Make sure an assert no longer causes unnecessary trouble
...
Fixes #1426 , fixes #1414
2019-12-03 23:10:24 +01:00
Dave Halter
8aee1e6213
Make sure that decorator signature completion is working, see #1433
2019-12-03 22:20:38 +01:00
Dave Halter
f46f00bc71
Avoid wrong random call signature completion, fixes #1433
2019-12-03 22:12:33 +01:00
Dave Halter
fea80c7fc8
Make sure py__iter__ has the right signature
2019-12-03 17:18:55 +01:00
Dave Halter
87852c1295
Remove probably dead code
2019-12-03 17:16:38 +01:00
Dave Halter
3d784c748e
Python 2
2019-12-03 16:53:07 +01:00
Dave Halter
e5d1091e80
Make sure execute_function_slots and get_function_slots is defined for all instances
2019-12-03 16:50:34 +01:00
Dave Halter
7254bec92c
Upgrade typeshed to the latest commits
...
Also fixes some small Jedi issues with it (None interpretation in annoations mostly)
2019-12-02 10:14:59 +01:00
Dave Halter
74de9e7d53
Make sure that the differences are calculated a bit more reliable, fixes #1429
2019-12-02 00:22:15 +01:00
Dave Halter
f54291a30b
Unfortunately commited something that should not have been committed
2019-12-02 00:11:29 +01:00
Dave Halter
4d3f6fa790
Fix Python 2 issues
2019-12-02 00:04:22 +01:00
Dave Halter
b8dfbc5d18
A CompiledInstance is not really compiled, it's an instance of a compiled class value
2019-12-01 23:50:46 +01:00
Dave Halter
f43d144e23
Remove is_package on contexts
2019-12-01 21:01:33 +01:00
Dave Halter
76e0e6a8c5
Fix some more package issues
2019-12-01 20:42:55 +01:00
Dave Halter
7b6405f76c
Get rid of py__package__ from contexts
2019-12-01 19:33:24 +01:00
Dave Halter
8a26a23884
Make is_package a function and call it consistently
2019-12-01 19:31:31 +01:00
Dave Halter
6ffeea7eea
Make sure code_lines works on stubs, even if they are builtins
2019-12-01 19:10:08 +01:00
Dave Halter
582df2f76d
Fix the MixedContext and also use MixedModuleContext
2019-12-01 17:22:36 +01:00
Dave Halter
5c79472024
Separate CompiledModuleContext from CompiledContext, fixes #1428
2019-12-01 14:56:55 +01:00
Dave Halter
378712dbc1
Fix contextualizing of subscriptlist
2019-12-01 11:07:18 +01:00
Dave Halter
b13c4c446f
Fix a globals context issue, fixes #1435
2019-12-01 01:28:03 +01:00
Dave Halter
e81c241905
Remove Python 2 implicit relative imports feature
...
Python 2 is almost gone, so I don't support those old features anymore.
2019-12-01 00:45:08 +01:00
Dave Halter
c77f33b73b
A small rename of a value that is actually a context
2019-12-01 00:31:22 +01:00
Dave Halter
b895924311
Merge pull request #1451 from pappasam/FIX_SHOW_SYSTEM_FOLDERS
...
Fix: no longer shows folders recursively to root
2019-12-01 00:12:51 +01:00
Dave Halter
86071dda54
Use a different sys path for import completions and import type inference
...
Fix tests of the #1451 pull request
2019-12-01 00:12:19 +01:00
Sam Roeca
1ba83414a5
Change search strategy for adding parent paths:
...
1. skip dirs with __init__.py
2. Stop immediately when above self._path
2019-11-30 10:14:28 -05:00
Dave Halter
59c5b51c0d
Add __ne__ to BaseValueSet. Might have caused issues in Python 2, see #1442
2019-11-30 10:01:27 +01:00
Sam Roeca
c2fd7b3104
Fix: upward search omits unnecessary paths
...
In the previous implementation, Jedi's traverse_parents function
traversed parent directories to the system root every time. This would
inadvertently add every folder to the system root every time. Obviously,
this is not the behavior desired for the import system.
This commit collects directories in an upward search until we:
1. Hit any directory without an __init__.py, AND
2. Are above self._path.
2019-11-29 21:12:12 -05:00
Sam Roeca
4bc4f167e9
Revert "Fix: no longer shows folders recursively to root"
...
This reverts commit 03b4177d3d .
2019-11-29 20:11:23 -05:00
Dave Halter
3c68d3d341
Avoid finding submodules for compiled objects, because it's at least not implemented
2019-11-29 17:18:04 +01:00
Dave Halter
8478ad7ffb
Make sure that goto on a subscript colon doesn't crash
2019-11-29 17:10:07 +01:00
Dave Halter
98b592cb68
Fix getitem in compiled
...
This change just applies a change to CompiledObject that was done to values a long time ago
2019-11-29 16:14:17 +01:00
Dave Halter
c38e4fce70
Make sure py__get__ is defined on all values
...
Also define matches_signature on all signatures, there's definitely cases where that might be called
2019-11-29 15:04:04 +01:00
Dave Halter
6e5e706288
Fix file name completions when file name is too long
2019-11-29 14:11:31 +01:00
Dave Halter
0e92be66db
Fix an issue around completions in comments before strings
2019-11-29 13:44:12 +01:00
Sam Roeca
03b4177d3d
Fix: no longer shows folders recursively to root
...
In the previous implementation, Jedi would's traverse_parents function
traversed parent directories to the system root every time. This would
inadvertently add every folder to the system root every time. Obviously,
this is not the behavior desired for the import system.
This pull request provides a new argument to the traverse_parents
function, "root", which represents the root parent for the search. This
argument defaults to None, thereby preserving the existing behavior of
the function.
I chose to duplicate some code for performance reasons. Since I'm trying
to avoid too much path manipulation magic, we do:
* a search to a valid specified root, OR
* a simple upward search until hitting the system root when there is no
valid root specified.
2019-11-28 23:04:08 -05:00
Samuel Roeca
761f0828c7
Fix missing inference for typing.Type[typing.TypeVar] ( #1448 )
...
* Add Type[TypeVar] support
* Completion tests for typing.Type[typing.TypeVar]
2019-11-27 22:10:58 +01:00
Dave Halter
facd21afc6
Remove Python 3.9 dev build from travis, it's not needed
2019-11-27 20:50:29 +01:00
Dave Halter
e1d840c89b
Start to use Python 3.8 in the normal CI pipeline
2019-11-27 20:15:52 +01:00
Dave Halter
15c13c1386
Fix the pow test for Python 3.8
2019-11-27 20:12:50 +01:00
Jérome Perrin
6d632a01eb
Fix inference from type comment for function parameter with dot
...
fix for https://github.com/davidhalter/jedi/issues/1437
2019-11-08 13:41:17 +01:00
ANtlord
4b15c8459a
Merge branch 'master' of https://github.com/davidhalter/jedi
2019-10-28 08:52:56 +02:00
Endill
00b220516d
Fix annotation string generated from wrong object
2019-10-26 13:58:15 +02:00
Johannes Maria Frank
364a527fd9
Added missing sorted to scandir
2019-10-22 16:49:35 +01:00
Johannes Maria Frank
2039ab9a3c
Fixed pytest fixtures for test_api
2019-10-22 16:47:06 +01:00
Johannes Maria Frank
d48816603e
Sorted scandir results to have completions ordered
2019-10-22 16:34:47 +01:00
Johannes Maria Frank
f61d041830
Switched back to fuzzy off as default
2019-10-22 16:06:46 +01:00
Johannes Maria Frank
f7fae4dde7
Added file fuzzy match and refactored
2019-10-22 15:50:16 +01:00
ANtlord
893b695a61
Merge branch 'master' of https://github.com/davidhalter/jedi
2019-10-21 22:27:06 +03:00
Johannes Maria Frank
2653752f9c
Corrected formatting
2019-10-21 15:44:03 +01:00
Johannes Maria Frank
d73f32745d
Fixed bug for python 2
2019-10-10 15:02:00 +02:00
Johannes Maria Frank
1fa678e3fe
Corrected an error in the math fuzzy completion test
2019-10-10 13:23:33 +02:00
Johannes Maria Frank
a84087682d
Adopted results for different python versions
2019-10-10 12:10:19 +02:00
Johannes Maria Frank
48ffc5473a
Added test for math og
2019-10-09 10:37:46 +02:00
Johannes Maria Frank
0b56bf8f08
Added completions test with fuzzy=True
2019-10-04 17:18:01 +01:00
Johannes Maria Frank
85278242c3
Switched to fuzzy boolean
2019-10-02 00:28:31 +01:00
Dave Halter
6baa3ae8e1
Start working on uniting parts of code of file path/dict completion
2019-09-27 09:36:37 +02:00
Johannes Maria Frank
0bbc8d6e9a
Added match_method parameter
2019-09-26 09:12:15 +01:00
Johannes Maria Frank
8f306953da
Added experimental substring and fuzzysearch
2019-09-26 08:17:30 +01:00
Dave Halter
88ebb3e140
Get a few more tests passing about dict key strings
2019-09-23 21:05:01 +02:00
Dave Halter
954fd56fcc
Get some more dict completions working
2019-09-23 09:21:43 +02:00
Dave Halter
e8afb46cde
Get the first dict completions passing
2019-09-23 09:18:26 +02:00
Dave Halter
a6fcf779d4
Fix a small issue created in #1398
2019-09-21 23:29:07 +02:00
Levente Polyak
527ef6fcdd
fix static analysis test skips with latest pytest
...
Latest pytest ensures pytest.skip is being called with a str parameter.
However, test_static_analysis passed over the skip parameter which
contains a tuple returned from skip_python_version leading to test
regression.
Unify the version skip reasons for both, static analysis and integration
tests by using a shared BaseTestCase parent to avoid code duplication.
Furthermore handle test_static_analysis skip_reason extraction
orthogonal to test_completion.
2019-09-21 21:42:05 +02:00
Philipp A
a0f95fc89f
Fixed rST in changelog
2019-09-21 21:35:04 +02:00
Maxim Cournoyer
96d650cab3
test: test_completion: Dynamically resolve current directory name.
...
This fixes issue #1395 (see:
https://github.com/davidhalter/jedi/issues/1395 ).
* test/test_api/test_completion.py(current_dirname): New variable.
(test_file_path_completions): Use it.
2019-09-19 23:35:18 +02:00
ANtlord
659aaf6861
Naming corrections.
2019-09-19 08:42:39 +03:00
ANtlord
d68545d8de
Merge branch 'master' of https://github.com/davidhalter/jedi
2019-09-18 09:28:30 +03:00
ANtlord
f5ae7148dd
Basic django model fields are infered as builtin types.
2019-09-18 09:27:39 +03:00
Dave Halter
e86a2ec566
Small rename
2019-09-08 03:32:47 +02:00
Dave Halter
e179b3e526
Add a test for dict key completions
2019-09-07 02:58:21 +02:00
Dave Halter
66022edf14
Skip Python 2 tests for some array issues
2019-09-06 00:04:44 +02:00
Dave Halter
ae79919eb4
Skip some param resolving tests in Python 2/3.4
2019-09-05 18:27:37 +02:00
Dave Halter
fbe58306c3
Add a few tests for a previous assertion failure
2019-09-05 10:57:04 +02:00
Dave Halter
9c19f72af3
Make sure a compiled instance is is_compiled
2019-09-05 10:13:03 +02:00
Dave Halter
a9f1d3d9bb
Reenable a test
2019-09-05 10:09:33 +02:00
Dave Halter
1db3e9a65d
Disable a test in Python2
2019-09-05 10:03:50 +02:00
Dave Halter
599eded3d1
Remove a few unused imports
2019-09-05 00:54:13 +02:00
Dave Halter
4e68287bba
Move eval_node to one place
2019-09-05 00:52:14 +02:00
Dave Halter
008e9860a8
Avoid creating the same object twice
2019-09-05 00:37:51 +02:00
Dave Halter
8cd5932fed
Move inference_state.goto to the name and _follow_error_node_imports_if_possible away from inference_state
2019-09-05 00:34:13 +02:00
Dave Halter
67c007338a
Make some dynamic array variables private
2019-09-05 00:18:01 +02:00
Dave Halter
aea2ddcbd8
ContextualizedName -> TreeNameDefinition
2019-09-05 00:15:38 +02:00
Dave Halter
4d332c32c0
Use create_name instead of duplicated logic
2019-09-05 00:04:24 +02:00
Dave Halter
02046d5333
Replace obj with value
2019-09-04 11:12:30 +02:00
Dave Halter
2faa8ade8b
Remove get_object, it's not needed anymore
2019-09-04 11:04:09 +02:00
Dave Halter
f9292ca8fa
Implement properties properly
2019-09-04 11:00:43 +02:00
Dave Halter
40b01bfd2c
Make arguments private for instance
2019-09-04 09:34:22 +02:00
Dave Halter
46e9b9e7cf
Refactor dynamic params a bit
2019-09-04 09:31:01 +02:00
Dave Halter
96848dd627
Revert "Refactor some dynamic function arguments things"
...
This reverts commit e7d9a59da2 .
2019-09-04 09:28:31 +02:00
Dave Halter
e7d9a59da2
Refactor some dynamic function arguments things
2019-09-04 09:27:06 +02:00
Dave Halter
dd400f115a
Move some annotation inferring code to proper functions
2019-09-04 01:29:41 +02:00
Dave Halter
34f131e9b3
Remove an unneeded list cast
2019-09-04 01:22:16 +02:00
Dave Halter
47d6ae3da1
SimpleParamName -> AnonymousParamName
2019-09-04 01:20:44 +02:00
Dave Halter
79f9d78c83
Make create_instance_context a lot more understandable (and shorter)
2019-09-04 01:06:25 +02:00
Dave Halter
06d2119f51
Make sure a self variable is only defined in a function not outside
2019-09-04 00:53:46 +02:00
Dave Halter
b27f47683c
get_first_non_keyword_argument_values is not really used anymore
2019-09-04 00:08:49 +02:00
Dave Halter
0be9ab0caf
A simplification
2019-09-04 00:03:03 +02:00
Dave Halter
c8564a68df
Fix recursion issues about dynamic param lookups and defaults work again
2019-09-03 23:59:31 +02:00
Dave Halter
75262d294f
Refactor search_param_names interface
2019-09-03 22:17:30 +02:00
Dave Halter
ac4dd06d11
Use get_executed_param_names if get_executed_param_names_and_issues is not necessary
2019-09-03 22:11:00 +02:00
Dave Halter
d4f3963cd0
Don't use get_executed_param_names_and_issues as an attribute on arguments
2019-09-03 22:07:34 +02:00
Dave Halter
a3659e2750
Remvoe AnonymousArguments
2019-09-03 21:59:50 +02:00
Dave Halter
3a74d65404
Refactor AnonymousInstance/TreeInstance, so that the anonymous instance doesn't have to use arguments
2019-09-03 21:56:48 +02:00
Dave Halter
acda3527cb
Separate tree/compiled instances better
2019-09-03 21:36:13 +02:00
Dave Halter
03f6d0edf8
Get rid of create_init_executions
2019-09-03 17:50:03 +02:00
Dave Halter
c79faa6b10
Implement super() properly
2019-09-03 14:53:40 +02:00
Dave Halter
4b10644100
Start using AnonymousMethodExecutionContext instead of the normal function execution context with arguments
2019-09-03 14:44:01 +02:00
Dave Halter
274f8dbb02
Prepare instance for AnonymousMethodExecutionContext
2019-09-03 14:19:56 +02:00
Dave Halter
efa51a1d70
Use the function execution filters with proper inheritance
2019-09-03 13:55:09 +02:00
Dave Halter
0a420339e8
Deal with inheritance properly when dealing with function executions
2019-09-03 13:29:25 +02:00
Dave Halter
fe5523268e
Separate FunctionExecution and AnonymousFunctionExecution
2019-09-03 13:11:50 +02:00
Dave Halter
b16c987a72
Fix static analysis for params
2019-09-03 12:45:35 +02:00
Dave Halter
35efdd84d2
Add get_param_names to the function execution, which is needed to do some filtering
2019-09-03 09:22:31 +02:00
Dave Halter
1495a0ec4c
Move the normal anonymous arguments case over to names
2019-09-03 01:28:54 +02:00
Dave Halter
33586deef1
Prefer annotations in SimpleParamName
2019-09-03 01:03:10 +02:00
Dave Halter
7bdd71f9a7
Add some dynamic inference checks for annotations
2019-09-03 00:56:42 +02:00
Dave Halter
a67861a320
Avoid using arguments.get_executed_param_names_and_issues
2019-09-03 00:47:10 +02:00
Dave Halter
fe8a605d4a
Remove get_executed_param_names_and_issues from FunctionExecution
2019-09-03 00:30:22 +02:00
Dave Halter
7ad7d22fb0
Use function/arguments intead of execution
2019-09-02 21:50:56 +02:00
Dave Halter
bdb01c7546
Make FunctionExecutionContext.arguments private
2019-09-02 21:24:21 +02:00
Dave Halter
73003a995b
_ArrayInstance -> _DynamicArrayAdditions
2019-09-02 19:49:21 +02:00
Dave Halter
06890203dd
var_args -> arguments
2019-09-02 19:48:17 +02:00
Dave Halter
e97bb1d2e5
Fix the final issues about parameter arguments
2019-09-02 19:27:39 +02:00
Dave Halter
4fd1149be2
Fix infering of dynamic params
2019-09-02 10:05:12 +02:00
Dave Halter
51475a5b39
Remove an unnecessary piece of code from goto
2019-09-02 09:52:58 +02:00
Dave Halter
a0cadd9375
Use Context.create_name instead of weird playing with params everywhere
2019-09-02 09:38:54 +02:00
Dave Halter
b4dc95553f
Use SimpleParamName everywhere it's needed
2019-09-02 09:29:43 +02:00
Dave Halter
edb17b8e7c
Refactor params and what execution contexts need
2019-09-01 14:14:42 +02:00
Dave Halter
59f26ad6ab
Fix a TODO
2019-08-30 01:18:13 +02:00
Dave Halter
286d2c9b1a
Make the order of overloaded functions correct
2019-08-30 01:11:11 +02:00
Dave Halter
04bc9eb62c
Get py__simple_getitem__ working on dicts that have a dict as a param, see #1385
2019-08-29 09:27:43 +02:00
Dave Halter
9c950321df
Move some code from SequenceLiteralValue to DictLiteralValue
2019-08-28 23:47:32 +02:00
Dave Halter
4572503c9f
Fix usages in context of the new parso parameter include_setitem=True
2019-08-28 22:56:16 +02:00
Dave Halter
7d28f4ce5b
execution_allowed should be called with nodes
2019-08-28 18:24:26 +02:00
Dave Halter
2a27ec37ae
Move a repr function
2019-08-28 10:12:00 +02:00
Dave Halter
066b189bfa
Fix cases where dicts are passed to dicts and generics were not properly applied
2019-08-27 20:41:46 +02:00
Dave Halter
18ecb5a746
Small rename
2019-08-26 23:34:01 +02:00
Dave Halter
305bfd3a3c
Change a test so it works with generics
2019-08-26 21:53:41 +02:00
Dave Halter
8311328a8e
Get py__simple_getitem__ modifications working for list/dict instances
2019-08-26 21:48:41 +02:00
Dave Halter
24b392b915
Random objects should not be affected by list/dict modifications
2019-08-26 19:28:30 +02:00
Dave Halter
356c25a399
Add a way how dict setitem can be understood
...
Needs the latest parso commits
2019-08-26 19:27:33 +02:00
Matthias Bussonnier
5329f95096
Attempt at a test of completion of filepath after ~.
...
I'm not quite sure how this will behave on windows, and we can't really
create a tempdir (as we don't want to mess with path on home.
One possibility would be to mock/monkeypatch scandir, listdir and
os.path.expanduser or set $HOME in env; but I'm quite unsure we want to
go that route.
2019-08-25 19:55:33 +02:00
Dave Halter
eb5586d7e0
Move the dynamic module to dynamic_params
2019-08-25 17:12:04 +02:00
Dave Halter
b7febc1960
Move the dynamic arrays code
2019-08-25 17:08:42 +02:00
Dave Halter
d31ca7e9f0
Add a comment about how _ArrayInstance is used
2019-08-25 17:00:57 +02:00
Dave Halter
0f13e02fc2
check_array_additions -> _check_array_additions
2019-08-25 16:46:08 +02:00
Dave Halter
2a86d810cd
Remove methods that are not used
2019-08-25 14:36:42 +02:00
Dave Halter
473dbb0f69
Create separate classes for FakeSequence
2019-08-25 14:31:15 +02:00
Dave Halter
51912db46a
Remove _FakeArray, because it's no longer needed
2019-08-25 13:58:35 +02:00
Dave Halter
41dc514546
Enable a sys path test that is working now
2019-08-25 13:20:37 +02:00
Dave Halter
e3d2bce7ff
Reenable some tests
2019-08-25 02:37:52 +02:00
Dave Halter
9b21c02819
Add a method implementation, that doesn't seem to be used, but it might one day be.
2019-08-24 14:50:59 +02:00
Dave Halter
c94bce315a
Merge branch 'refactoring'
2019-08-24 14:38:45 +02:00
Dave Halter
8beea77bc8
Merge branch 'master' of github.com:davidhalter/jedi
2019-08-24 14:34:09 +02:00
Dave Halter
9290b7291b
get_param -> get_executed_param_name
2019-08-24 14:33:19 +02:00
Dave Halter
4969b52ddf
Reuse a function
2019-08-24 14:18:08 +02:00
Dave Halter
06a6cea02d
DynamicExecutedParams -> DynamicExecutedParamName
2019-08-24 14:14:45 +02:00
Dave Halter
9469533b9f
Make InstanceExecutedParam a ParamName
2019-08-24 14:08:11 +02:00
Dave Halter
98d0fc632e
Some more renames
2019-08-24 14:02:04 +02:00
Dave Halter
622db8d2d7
Actually start using names for executed param names
2019-08-24 13:52:50 +02:00
Dave Halter
0619d58cd3
search_params -> search_param_names
2019-08-24 13:47:19 +02:00
Dave Halter
b1d2f2462b
get_executed_params_and_issues -> get_executed_param_names_and_issues
2019-08-24 13:45:47 +02:00
Dave Halter
bccc85f453
Remove a strange comment
2019-08-24 13:41:41 +02:00
Dave Halter
4db6793719
Remove an isisinstance check that is no longer needed
2019-08-24 13:40:03 +02:00
Dave Halter
ec6fa0c97c
Differentiate between a public name and an internal string_name
2019-08-24 13:35:15 +02:00
Dave Halter
8b1f35a8b1
Use get_kind in ExecutedParam
2019-08-24 13:20:53 +02:00
Dave Halter
e7020bea3d
Use infer_annotation only from param name
2019-08-24 13:09:00 +02:00
Dave Halter
bb3eb23864
Move docstring param recognizing
2019-08-24 12:32:50 +02:00
Dave Halter
88cf198552
Avoid function executions if they are not necessary
...
This also means that annotations are prefered to docstring types
2019-08-24 12:23:33 +02:00
Dave Halter
e0f26dd7a1
get_function_execution -> as_context
2019-08-24 11:16:20 +02:00
Dave Halter
d913d7d701
Don't use filter_name for global completions
2019-08-24 11:02:45 +02:00
Dave Halter
dd6befdc52
Cosmetics
2019-08-24 03:22:26 +02:00
Dave Halter
c1d8454f0c
Finally get rid of NameFinder
2019-08-24 03:21:00 +02:00
Dave Halter
c4b0b45a1d
Move the isinstance checks out of finder
2019-08-24 03:09:40 +02:00
Dave Halter
eba088b049
Move some static analysis details out of finder
2019-08-24 02:51:11 +02:00
Dave Halter
ba67d384c1
Remove predefined_names from value, it's not needed anymore
2019-08-24 02:41:10 +02:00
Dave Halter
ba9c318d22
Move predefine_names to context
2019-08-24 02:39:51 +02:00
Dave Halter
ce3ec4eecb
Rename value -> context for some more places
2019-08-24 02:36:29 +02:00
Dave Halter
e148d5120f
Move some finder stuff around
2019-08-24 02:28:58 +02:00
Dave Halter
3828532065
Move a debugging statement out of finder
2019-08-24 02:13:52 +02:00
Dave Halter
6d361e03ac
Avoid import recursions in other ways
2019-08-24 02:06:57 +02:00
Dave Halter
250ac77f4a
Remove a check that is not needed
2019-08-24 01:11:31 +02:00
Dave Halter
ddb2ccb657
Move error handling for py__getattribute__
2019-08-24 00:59:48 +02:00
Dave Halter
bd24ee2ab3
Move a paragraph
2019-08-24 00:46:16 +02:00
Dave Halter
b13a9f7d5b
Trying to move towards unifying goto and py__getattribute__
2019-08-24 00:18:48 +02:00
Dave Halter
fcec30dff6
Use py__getattribute__alternatives instead of overwriting py__getattribute__
2019-08-23 23:04:17 +02:00
Dave Halter
0992dc7ae9
Move __getattr__ and __getattribute__ logic to instance
...
Now getattr warnings might be wrong
2019-08-23 21:59:01 +02:00
Dave Halter
60a73f6bac
Move get_global_filters to the context module
2019-08-23 21:19:17 +02:00
Dave Halter
a9d8f389a9
Avoid using get_global_filters if it's not needed
2019-08-23 20:56:00 +02:00
Matthias Bussonnier
9a3f41e63b
Complete path after ~.
...
Note this is mostly to discuss as if I understood one of your message on
Twitter, this was not possible without fuzzy completion.
I tried with just this patch and that works great.
Note that unlike IPython that right now does :
~/<tab> -> /Full/Path/to/user/home
But with this patch this just complete things correctly without
expanding the tab. And I think not expanding the tab is actually better.
Anyway, open that to better understand the why you were waiting for
fuzzy completion.
2019-08-23 17:57:12 +02:00
Dave Halter
3fcecb3d6d
Move the filter search to a different place
2019-08-23 16:29:13 +02:00
Dave Halter
ead0964282
_get_origin_scope is no longer really used
2019-08-23 16:21:14 +02:00
Dave Halter
0cbd1e6cff
Avoid passing of contexts in multiple ways for self name filters
2019-08-23 15:45:26 +02:00
Dave Halter
b38da47981
Prefer readability
2019-08-23 15:33:15 +02:00
Dave Halter
c393a406ee
Refactoring of the contexts to properly use inheritance
2019-08-23 15:28:55 +02:00
Dave Halter
7573e2033a
Fix comprehension parent issues, fixes #1215
2019-08-23 14:34:16 +02:00
Dave Halter
ecc574025c
Merge branch 'ngates/comprehension-parent' of https://github.com/gatesn/jedi into refactoring
2019-08-23 13:52:25 +02:00
Dave Halter
51ac055a38
Another _value removal
2019-08-23 13:42:07 +02:00
Dave Halter
c9e4cdaba1
Get rid of another private access
2019-08-23 13:34:04 +02:00
Dave Halter
aceef78a21
Get rid of a private access
2019-08-23 13:19:53 +02:00
Dave Halter
86f4f7be45
Remove a private access
2019-08-23 11:55:49 +02:00
Dave Halter
041fd992b3
create_value can deal with modules now
2019-08-23 00:45:59 +02:00
Dave Halter
05ce1c8237
Remove a test that tested a removed function
2019-08-23 00:26:15 +02:00
Dave Halter
3e684519e6
Very small refactoring
2019-08-23 00:24:30 +02:00
Dave Halter
9f3a2f93c4
Remove get_statement_of_position. It's not used anymore
2019-08-23 00:13:18 +02:00
Dave Halter
193ba47f50
Simplify get_user_context
2019-08-23 00:10:56 +02:00
Dave Halter
05fe29a156
Get rid of the node_is_value parameter
2019-08-23 00:02:39 +02:00
Dave Halter
bd754718e1
Fix a string escape
2019-08-22 23:32:52 +02:00
Dave Halter
df014dc527
Create create_value to eventally use on contexts for some things
2019-08-22 23:21:21 +02:00
Dave Halter
6d5e9f4b0f
Remove node_is_object, not used anymore
2019-08-22 23:13:42 +02:00
Dave Halter
faf6752ff8
Move create_context to a context
2019-08-22 22:47:26 +02:00
Dave Halter
ee6331747f
Use a class_context instead of a class_value for MethodValue
2019-08-22 22:13:02 +02:00
Dave Halter
eee6810576
Small cleanup of code
2019-08-22 17:20:07 +02:00
Dave Halter
f87f8c028b
Fix context issues when working with instances
2019-08-22 17:11:54 +02:00
Dave Halter
b97237f264
Rename the filter context argument to parent_context
2019-08-22 10:09:07 +02:00
Dave Halter
4e260cdadb
Remove infer_element from Value
2019-08-22 00:36:15 +02:00
Dave Halter
337c03e5be
Separate infer_import and goto_import a bit better
2019-08-22 00:23:24 +02:00
Dave Halter
bf4d42798b
Make separate methods for goto_import and infer_import
2019-08-21 23:58:26 +02:00
Dave Halter
2fb04db0ab
Fix the weird py__path__ behavior
2019-08-21 23:08:42 +02:00
Dave Halter
592f3771fc
Make Importer.module_context Importer._module_context
2019-08-21 09:56:36 +02:00
Dave Halter
925dd38c18
Remove a private access
2019-08-21 09:54:32 +02:00
Dave Halter
6142d18206
More rename
2019-08-21 09:53:48 +02:00
Dave Halter
9d34df2fed
Make Slice a proper LazyValueWrapper
2019-08-21 09:51:47 +02:00
Dave Halter
02c96b37db
Some more value -> context renames
2019-08-21 09:31:23 +02:00
Dave Halter
55c08e06ab
Remove a hack that is no longer necessary
2019-08-21 09:25:15 +02:00
Dave Halter
84f6d95fde
Fix a python 2 dynamic issue
2019-08-21 09:16:48 +02:00
Dave Halter
4cbe2898c0
Fix usage tests
...
With those tests fixed, everything should pass again
2019-08-21 01:01:09 +02:00
Dave Halter
8a2b7f18cd
Get all tests working except usage tests
2019-08-21 00:50:34 +02:00
Dave Halter
85f8f2a764
Fix os path resolving issues
2019-08-21 00:22:34 +02:00
Dave Halter
14fc5ed289
Fix more issues with where contexts are used and where values are used
2019-08-20 09:59:10 +02:00
Dave Halter
39b294e085
Fix some interpreter issues
2019-08-20 09:09:19 +02:00
Dave Halter
217b632213
Write a CompForContext that is still not in good shape but working
2019-08-19 21:17:11 +02:00
Dave Halter
caee8e9952
Fix final gradual typing related issues
2019-08-19 19:43:45 +02:00
Dave Halter
b19ba12566
Fix some more context issues
2019-08-19 19:33:12 +02:00
Dave Halter
f54617867d
Fix dynamic param checking
2019-08-18 18:19:12 +02:00
Dave Halter
6fb49eaadf
as_context caching
2019-08-18 17:52:15 +02:00
Dave Halter
8e60689bcf
valueualized_node -> contextualized_node
2019-08-18 00:58:33 +02:00
Dave Halter
4415de010d
ValueualizedName -> ContextualizedName
...
Basically a change back to an older version
2019-08-18 00:57:29 +02:00
Dave Halter
f61246bf13
Fix quite a few more tests. Only about a fifth failing now
2019-08-18 00:47:21 +02:00
Dave Halter
0c419a5094
Fix class tests
2019-08-17 23:52:52 +02:00
Dave Halter
895e774962
Module fixes
2019-08-17 17:56:57 +02:00
Dave Halter
a9b1de7060
execution_value -> execution_context
2019-08-17 17:13:29 +02:00
Dave Halter
680388a7e8
More fixes
2019-08-17 17:01:21 +02:00
Dave Halter
2629ff55f3
Fix some array tests
2019-08-17 15:42:13 +02:00
Dave Halter
c6d2aa6da2
Some small improvements
2019-08-16 16:44:03 +02:00
Dave Halter
165639c1dd
Start implementing the bulk of the context/value separation
2019-08-16 16:12:12 +02:00
Dave Halter
d19233a338
Start working on replacing value partially with context
2019-08-16 13:00:05 +02:00
Dave Halter
03920502c4
infer_state -> inference_state
2019-08-16 11:44:30 +02:00
Dave Halter
fffb39227e
InferState -> InferenceState
2019-08-16 11:43:21 +02:00
Dave Halter
9ee6285414
Remove infer_state from filters
2019-08-16 09:41:23 +02:00
Dave Halter
600272366f
parent_value -> parent_context
2019-08-15 09:36:46 +02:00
Dave Halter
2e90e3b2b1
Avoid position passing for value filters
2019-08-15 09:31:12 +02:00
Dave Halter
21a18c698e
Differentiate in finder between get_value_filters and get_global_filters
2019-08-15 09:29:08 +02:00
Dave Halter
9986d8c9aa
Context -> Value
2019-08-15 01:26:11 +02:00
Dave Halter
49f996867d
NO_CONTEXTS -> NO_VALUES
2019-08-15 01:24:28 +02:00
Dave Halter
ad4f546aca
context -> value
2019-08-15 01:23:06 +02:00
Dave Halter
9e23f4d67b
Move base_context -> base_value
2019-08-15 00:41:02 +02:00
Dave Halter
a5dff65142
Evaluator -> InferState
2019-08-15 00:37:51 +02:00
Dave Halter
8157d119a7
eval_ -> infer_
2019-08-15 00:20:01 +02:00
Dave Halter
199799a966
Rename some functions -> evaluate_ to infer_
2019-08-15 00:15:38 +02:00
Dave Halter
3b4f292464
Move the evaluate package to inference
2019-08-15 00:14:26 +02:00
Dave Halter
e4d1e5455f
test_evaluate -> test_inference
2019-08-14 23:56:44 +02:00
Dave Halter
a23bbbfbb9
Remove some docstrings that are outdated
2019-08-14 23:51:49 +02:00
Dave Halter
7ce77b724d
Merge pull request #1382 from Carreau/scandir
...
Use scandir on py3.5+ for less disk access on filename completion
2019-08-13 22:08:15 +02:00
Matthias Bussonnier
f06e7f55c0
fix version check
2019-08-13 09:48:38 -07:00
Matthias Bussonnier
f47211c129
Use scandir on py3.5+ for less disk access on filename completion
...
On Python 3.5+, we can make use of scandir that not only list the
content of the directory as an iterator but caches some infomations (for
example, `is_dir()`; this avoid extra stats call to the underlying
filesytem and can be – according to pep 471 – 2x to 20 time faster
especially on NFS filesystem where stats call is expensive.
From a quick this is the only place where scandir would make sens, as
most other places only require the name.
Fixes 1381
2019-08-12 17:56:29 -07:00
Dave Halter
9cc3b18d52
evaluation -> type inference and a few similar changes
2019-08-13 01:29:50 +02:00
Dave Halter
4619552589
Evaluation -> type inference
2019-08-13 01:29:50 +02:00
Dave Halter
467839a9ea
execute_evaluated -> execute_with_values
2019-08-13 01:29:50 +02:00
Dave Halter
084995c378
Bump version
2019-08-13 01:29:01 +02:00
Dave Halter
005f69390c
Write the CHANGELOG for 0.15.1
2019-08-13 00:18:45 +02:00
Matthias Bussonnier
ecca190462
Remove forgotten debug/print in filename completion. ( #1380 )
...
This is in the latest 0.15, and when forwarding path completions to
jedi, print a lot of stuff on the screen.
2019-08-12 12:37:21 +02:00
Dave Halter
5d0d09bb7d
staticmethod and a few other cases might not have properly returned its signatures
2019-08-12 09:37:59 +02:00
Dave Halter
972cae4859
Remove reference to a file that doesn't exist anymore
2019-08-12 00:24:35 +02:00
Dave Halter
77bc2d548a
Bump version to make it clear that it's a different one than the current one
2019-08-12 00:22:48 +02:00
Dave Halter
35e5cf2c2a
A small Changelog improvement
2019-08-11 20:49:49 +02:00
Dave Halter
c6f0ecd223
Cleanup Changelog for the next release
2019-08-11 20:37:50 +02:00
Dave Halter
f727e4e661
Make it possible to access functions that were inherited, see #1347
2019-08-11 20:34:21 +02:00
Dave Halter
1ad4003740
Messed up a Windows test
2019-08-11 20:12:33 +02:00
Dave Halter
1108ad9994
Again a small windows issue fixed.
2019-08-11 20:01:12 +02:00
Dave Halter
f7f9b1e5ec
Need to escape the path backslash for windows slashes
2019-08-11 19:56:57 +02:00
Dave Halter
c3d40949b1
Make it possible to access properties again
...
This time we catch all exceptions and try to avoid issues for the user.
This is only happening when working with an Interpreter. I don't feel this is
necessary otherwise.
See #1299
2019-08-11 16:24:19 +02:00
Dave Halter
a7accf4171
A small compatibility fix
2019-08-11 01:54:26 +02:00
Dave Halter
ab80646b86
Fix an issue with type vars that might have been a problem for other things as well
2019-08-11 01:28:09 +02:00
Dave Halter
3d0ac09fc9
Don't add quotes after paths if they are already there
2019-08-10 18:37:10 +02:00
Dave Halter
0a84678a60
A small speed optimization that helps a lot with sys.version_info >= (3, 0) patterns in typeshed
2019-08-10 15:31:36 +02:00
Dave Halter
4a5c992b1a
Remove an unnecessary isinstance usage
2019-08-10 14:41:47 +02:00
Dave Halter
04b7c99753
Make CompiledValue lazy
...
This definitely reduces debug output and it might be slightly faster, because some values are never asked for
2019-08-10 14:36:40 +02:00
Dave Halter
499408657b
A python 2 fix
2019-08-08 17:07:54 +02:00
Dave Halter
4ec3fb6e12
Fix an error that occured because of some refactorings
2019-08-08 11:03:27 +02:00
Dave Halter
463cbb1595
Fix one more os.path.join issue
2019-08-08 09:31:13 +02:00
Dave Halter
03608151e8
Fix more issues with os.path path completion
2019-08-08 01:48:25 +02:00
Dave Halter
822394663c
Make join detection much easier
2019-08-08 01:04:08 +02:00
Dave Halter
52517f78b1
Fix some remaining issues with file path completions
2019-08-07 23:00:27 +02:00
Dave Halter
a191b7b458
A few more tests for path completions (join)
2019-08-07 21:11:48 +02:00
Dave Halter
e68273c0ff
Fix quote completions for os.path.join path completions
2019-08-07 20:55:12 +02:00
Dave Halter
aeff5faa3d
Fix first param argument of os.path.join file completions
2019-08-07 20:39:47 +02:00
Dave Halter
0fd3757a51
Fix arglist/trailer issues
2019-08-07 10:16:05 +02:00
Dave Halter
1b064c1078
in os.path.join completions, directories should not end in a slash
2019-08-07 01:37:58 +02:00
Dave Halter
5726c29385
Make some file path completions in os.path.join work
2019-08-07 01:34:46 +02:00
Dave Halter
7c1c4981fb
Fix os.path.join static value gathering
2019-08-06 22:48:28 +02:00
Dave Halter
81488bcd20
os.path.sep should always have a clear value
2019-08-06 19:57:16 +02:00
Dave Halter
99008eef43
Fix string name completion for stuff like dirname and abspath
2019-08-06 19:38:16 +02:00
Dave Halter
3a9dc0ca2e
Fix bytes issue with file path adding
2019-08-06 01:08:57 +02:00
Dave Halter
98a550e352
Python 2 compatibility
2019-08-06 00:42:02 +02:00
Dave Halter
4b8505b78d
Make __file__ return the correct value
2019-08-06 00:30:31 +02:00
Dave Halter
b7c2bacbd2
Fix string additions when used in certain ways
2019-08-05 10:11:36 +02:00
Dave Halter
8108122347
Make string additions work for file path completion
...
With this most simple cases of file path completions should be working now, fixes #493
2019-08-05 01:43:50 +02:00
Dave Halter
45dada9552
Fix interpeter project path
2019-08-05 00:43:37 +02:00
Dave Halter
38e0cbc1d2
Fix the REPL completer for file path completions
2019-08-04 23:08:25 +02:00
Dave Halter
e008a515e3
Fix a few more file name completion cases
2019-08-04 22:43:23 +02:00
Dave Halter
fd1e6afd07
A first iteration for file path completions
2019-08-04 13:50:23 +02:00
Dave Halter
9dd088f3db
Fix a test failure
2019-08-03 14:58:57 +02:00
Dave Halter
8e1417e3ce
Add Definition.execute, fixes #1076
2019-08-03 02:01:30 +02:00
Dave Halter
97526aa320
Add tests to show that #516 is not working, yet
2019-08-02 22:31:26 +02:00
Dave Halter
16e0351897
List possible Definition.type in its docstring, fixes #1069 .
2019-08-02 21:16:58 +02:00
Dave Halter
c0c7c949fd
Start writing the Changelog for 0.15.0
2019-08-02 17:17:25 +02:00
Dave Halter
b8bc4060dd
3.8-dev should not be allowed to fail
2019-08-02 16:15:16 +02:00
Dave Halter
c737e3ee40
Skip more Python 2 tests
2019-08-02 15:54:10 +02:00
Dave Halter
4c3d4508e9
Skipping of tests was done the wrong way again
2019-08-02 15:50:06 +02:00
Dave Halter
70bcc9405f
Skip the right tests
2019-08-02 15:25:20 +02:00
Dave Halter
6a82f60901
Parameter.kind is not avaialble in Python 3.5
2019-08-02 13:49:01 +02:00
Dave Halter
814998253a
Fix Python 2 test issues
2019-08-02 13:44:04 +02:00
Dave Halter
a22c6da89f
Add a few docstrings to make some things clearer
2019-08-02 13:16:18 +02:00
Dave Halter
876a6a5c22
Add ParamDefinition.kind, fixes #1361
2019-08-02 13:11:41 +02:00
Dave Halter
642e8f2aa6
Make it possible to format a param to a string, fixes #1074
2019-08-02 12:17:58 +02:00
Dave Halter
a64ef2759c
Add another test for signature annotations
2019-08-02 12:17:58 +02:00
Dave Halter
d58bbce24f
Add Signature.to_string() with proper tests, fixes #779 , fixes #780
2019-08-02 12:17:13 +02:00
Dave Halter
ca6a7215e2
Test infer_default
2019-08-02 10:41:04 +02:00
Dave Halter
93b7548f1a
Use a helper to create definitions
2019-08-02 10:30:23 +02:00
Dave Halter
24db05841b
Add a execute_annotation option to infer_annotation
2019-08-02 10:24:15 +02:00
Dave Halter
375d1d57fb
Test infer_annotation
2019-08-02 10:00:17 +02:00
Dave Halter
c2e50e1d0d
Make it possible for users to infer annotations/defaults
...
Fixes #1039
2019-08-01 18:27:37 +02:00
Dave Halter
7988c1d11b
A first iteration of adding signatures to the API, fixes #1139
2019-08-01 17:48:10 +02:00
Dave Halter
8ab2a5320e
Fix a caching issue
2019-08-01 02:10:46 +02:00
Dave Halter
b5a62825ce
Forgot the right resolve_stars parameters in one place
2019-07-31 23:05:24 +02:00
Dave Halter
ec70815318
Cache getting resolved param names
2019-07-31 22:54:29 +02:00
Dave Halter
a739c17a6f
Turn around resolve_stars, it shouldn't by default be resolved
2019-07-31 18:51:31 +02:00
Dave Halter
ab5f4b6774
Remove a class that is not needed anymore
2019-07-31 18:44:57 +02:00
Dave Halter
a5a544cb09
Revert "Use __str__ instead of to_string"
...
This reverts commit 1151700114 .
2019-07-31 18:39:17 +02:00
Dave Halter
7d2374ed81
Fix the last remaining issues with function signature
2019-07-31 18:29:41 +02:00
Dave Halter
97b642a3e1
overloaded_functions should be private
2019-07-31 00:11:08 +02:00
Dave Halter
1151700114
Use __str__ instead of to_string
2019-07-31 00:07:38 +02:00
Dave Halter
75f654b944
Better repr for CallSignature
2019-07-30 23:55:58 +02:00
Dave Halter
bb852c3e85
Fix some minor signature issues
2019-07-30 23:48:54 +02:00
Dave Halter
1fbb69b35a
Remove the unused function signature_matches
2019-07-30 10:01:50 +02:00
Dave Halter
0352c3250a
Fix signatures for __init__ calls when used with supers, fixes #1163
2019-07-30 01:44:53 +02:00
Dave Halter
268f828963
Fix some issues for args resolving in method calls
2019-07-30 01:28:51 +02:00
Dave Halter
21508a8c79
Remove a bit of code that i sprobably unused
2019-07-30 00:38:42 +02:00
Dave Halter
f9de26f72c
Move get_signatures from Function to FunctionMixin
2019-07-29 20:17:03 +02:00
Dave Halter
22580f771c
Merge the signature changes
...
Fixes include
- Better @wraps(func) understanding
- *args, **kwargs in call signatures is now resolved as well as possible
Fixes #503 , fixes #1058
Also look at #906 , #634 , #1163
2019-07-29 00:31:08 +02:00
Dave Halter
9b338f69a6
Add a comment about wraps
2019-07-29 00:28:12 +02:00
Dave Halter
fa0424cfd6
Fix signatures for wraps, see #1058
2019-07-29 00:13:05 +02:00
Dave Halter
f6808a96e0
Skip pre python 3.5
2019-07-28 20:40:32 +02:00
Dave Halter
02bd7e5bc7
Some small args adaptions
2019-07-28 20:22:28 +02:00
Dave Halter
e8e3e8c111
Deal better with non-functions
2019-07-28 19:52:48 +02:00
Dave Halter
c8588191f9
Some more small fixes
2019-07-28 18:09:08 +02:00
Dave Halter
97e7f608df
Don't return multiple used names for signatures
2019-07-28 17:51:40 +02:00
Dave Halter
fae2c8c060
Move args resolving to a different file
2019-07-28 17:41:28 +02:00
Dave Halter
b4f2d82867
A new approach of getting arguments
2019-07-28 17:31:17 +02:00
Dave Halter
6a480780f8
Some more tests
2019-07-26 14:51:30 +02:00
Dave Halter
41dc5382fa
Make nesting of *args/**kwargs possible to understand.
2019-07-26 14:42:20 +02:00
Dave Halter
ba160e72ab
Some more signature progress
2019-07-26 14:29:33 +02:00
Dave Halter
0703a69369
Some progress in signature understanding
2019-07-26 12:11:45 +02:00
Dave Halter
c490d37c2d
Start getting signature inferring working
2019-07-26 02:54:50 +02:00
Dave Halter
84219236a7
Remove an import
2019-07-25 14:15:52 +02:00
Dave Halter
57fd995727
Small refactoring
2019-07-25 14:15:26 +02:00
Dave Halter
a803d687e2
Skipped Python 2 Interpreter tests the wrong way
2019-07-24 13:44:26 +02:00
Dave Halter
c7927fb141
Remove a paragraph in docs that was arguing that stubs and generics (and other things) were not properly supported, fixes #1012
2019-07-24 13:41:33 +02:00
Dave Halter
05d9602032
Fix partial signatures for MixedObject
...
Now a MixedObject return the signatures of its CompiledObject all the time, fixes #1371
2019-07-24 12:58:20 +02:00
Dave Halter
e76120da06
Fix partial signatures, fixes #1371
2019-07-24 02:28:49 +02:00
Dave Halter
25bbecc269
Make sure with a test that the staticmethod signature is also correct
2019-07-24 01:15:48 +02:00
Dave Halter
08bb9cfae7
Fix classmethod signature, fixes #498
2019-07-24 01:06:49 +02:00
Dave Halter
703b747a31
Deal with annotation on *args and **kwargs correctly, fixes #980
2019-07-23 23:56:30 +02:00
Dave Halter
ff149b74e0
Use LazyContextWrapper more
2019-07-23 13:59:08 +02:00
Dave Halter
3d08eb92d5
Very small refactoring
2019-07-23 13:08:57 +02:00
Johannes-Maria Frank
02d16ac55c
Fix for failing assertion on native modules Issue #1354 ( #1370 )
2019-07-23 13:02:08 +02:00
Dave Halter
18eb7622ba
Skip numpydoc tests for Python 2
2019-07-22 00:49:40 +02:00
Dave Halter
13dd173664
Remove code that didn't mean anything
2019-07-22 00:39:19 +02:00
Dave Halter
73c078ec7a
Fix docstrings for wrapped functions, fixes #906
2019-07-21 12:19:22 +02:00
Dave Halter
cdf50e2a69
Fix an isue about dict ordering in Python before 3.6.
2019-07-19 12:54:22 +02:00
Dave Halter
2b0b29f921
Make it clearer when get_param is used.
2019-07-19 11:57:55 +02:00
Dave Halter
0dc60fb535
A small dataclass refactoring
2019-07-19 11:44:11 +02:00
Dave Halter
5722a3458e
Evaluate annotations for dataclasses when infer is called on param
2019-07-19 11:42:08 +02:00
Dave Halter
93c52f615a
Get inheritance of dataclass right
2019-07-19 11:35:13 +02:00
Dave Halter
050d686a27
A first working iteration of dataclass signatures, fixes #1213
2019-07-19 02:01:36 +02:00
Dave Halter
7156ddf607
Remove an unused function
2019-07-19 01:32:27 +02:00
Dave Halter
1cccc832b6
Dataclass progress
2019-07-19 01:27:37 +02:00
Dave Halter
fd4eca5e03
Add enum changes to changelog
2019-07-18 12:19:21 +02:00
Dave Halter
1d9b9cff47
Fix a recursion error about getting metaclasses
2019-07-18 12:02:27 +02:00
Dave Halter
f4fe113c0f
One test about recursion issues only applied to Python 2
2019-07-18 12:00:47 +02:00
Dave Halter
c7fc715535
Use class filters in instances differently so metaclass plugins work, fixes #1090
2019-07-18 11:20:54 +02:00
Dave Halter
eeea88046e
First step in working with metaclasses in plugins, see #1090 .
2019-07-18 11:20:28 +02:00
Dave Halter
dea887d27d
Refactor the plugin registry
2019-07-16 12:48:54 +02:00
Dave Halter
8329e2e969
Remove classes from plugins and use decorators instead
2019-07-16 10:23:19 +02:00
Dave Halter
60415033b4
Prepare the v0.14.1 release
2019-07-13 16:00:27 +02:00
Dave Halter
a06d760f45
Use fixture names everywhere
2019-07-10 23:26:59 -07:00
Dave Halter
b7687fcfb7
Cleanup a test file
2019-07-10 23:23:18 -07:00
Dave Halter
0ec86d5034
Use parametrize instead of TestCase
2019-07-10 23:22:10 -07:00
Dave Halter
cef23f44cd
Remove a TestCase class usage
2019-07-10 19:32:19 -07:00
Dave Halter
e889a4923e
Use pytest.mark.parametrize for something instad of a class
2019-07-10 19:04:12 -07:00
Dave Halter
114aba462c
Use the names fixture even more
2019-07-10 19:00:24 -07:00
Dave Halter
26c7cec7b5
Use the names fixture more
2019-07-10 18:39:33 -07:00
Dave Halter
3e3a33ab79
A small rename
2019-07-10 18:38:24 -07:00
Dave Halter
7f386e0e68
Refactor names tests
2019-07-10 18:34:40 -07:00
Dave Halter
82d970d2b8
A small refactoring
2019-07-10 18:24:21 -07:00
Dave Halter
3ed9e836cc
Make sure __wrapped__ works properly when using an Interpreter, fixes #1353
2019-07-10 16:12:57 -07:00
Dave Halter
f984e8d6ef
Small refactoring
2019-07-10 15:38:41 -07:00
Dave Halter
670cf4d394
Make API param names appear without leading double underscores, fixes #1357 again
2019-07-10 12:10:12 -07:00
Dave Halter
e85fba844c
Fix some call signature tests
2019-07-09 00:46:53 -07:00
Dave Halter
ee5557ddf6
Make expected index work in Python 3
2019-07-09 00:37:33 -07:00
Dave Halter
42f72b219b
Test both closing brackets and non-closing brackets for CallSignature.index
2019-07-09 00:16:53 -07:00
Dave Halter
374721b789
Fix a case with errors
2019-07-09 00:04:53 -07:00
Dave Halter
01cec186ae
Move some code around
2019-07-08 22:52:04 -07:00
Dave Halter
3fb89f9f9b
Fix some kwargs cases
2019-07-08 22:38:22 -07:00
Dave Halter
a0b4e76c1a
Fix some *args issues
2019-07-08 17:03:45 -07:00
Dave Halter
97bf83aa03
Deal better with some error nodes
2019-07-08 14:26:11 -07:00
Dave Halter
ca7658cab7
Delete unused code
2019-07-08 13:29:46 -07:00
Dave Halter
dd78f4cfbf
Fix some error node handling for call signatures
2019-07-08 13:22:07 -07:00
Dave Halter
08019075c3
Fix CallSignature index for a looot of cases, fixes #1364,#1363
2019-07-08 12:40:58 -07:00
Dave Halter
943617a94f
Use recursion rather than other stuff
2019-07-05 23:51:24 -07:00
Dave Halter
d579c0ad57
Even more refactorings
2019-07-05 15:24:39 -07:00
Dave Halter
76c6104415
small name refactoring
2019-07-05 14:35:48 -07:00
Dave Halter
ef9d803ce3
Refactor some call details
2019-07-05 14:30:59 -07:00
Dave Halter
a26cb42d07
Disable a test for Python 2
2019-07-04 09:31:22 -07:00
Dave Halter
6b9b2836ba
Fix pow() signature, fixes #1357
...
This commit changes how params starting with __ are viewed as positional only params
2019-07-04 00:29:57 -07:00
Dave Halter
abdb8de89d
Merge branch 'master' of github.com:davidhalter/jedi
2019-07-03 23:49:18 -07:00
Dave Halter
ac492ef598
Fix signature to_string
2019-07-03 23:44:58 -07:00
Dave Halter
947bfe7b78
Fix an issue with keyword params, fixes #1356
2019-07-03 22:35:46 -07:00
Dave Halter
be6c90d135
Simplify some test code for param defaults, see #1356
2019-07-03 19:43:32 -07:00
Dave Halter
8cb059deda
Merge branch 'function_signature_in_interpreter' of https://github.com/linupi/jedi
2019-07-03 19:11:36 -07:00
Arnaud Limbourg
0f4da5c1cf
Update link to YouCompleteMe
...
The source repository changed.
2019-07-03 14:20:31 -07:00
Dave Halter
de138e9114
Improve a bit of dataclasses support, so at least the attributes can be seen
...
see #1213
2019-07-03 09:21:57 -07:00
Linus Pithan
15bb9b29a2
adding test_kwarg_defaults to point out missing default value of kwargs in certain cases
2019-07-02 11:52:57 +02:00
Dave Halter
4c132d94b9
Make sure in tests that pep 0526 variables are also able to be used when using self, see #933
2019-07-01 23:34:28 -07:00
mwchase
925fc89447
Get typing.NewType working ( #1344 )
...
Squashed from the following commits:
* Update pep0484.py
(I don't think I want to know why the cursor jumped to the beginning of the line with every keystroke in GitHub's online editor. Change was entered backwards.)
* Added test for inline use of NewType. Currently assuming that wrapped instances should get the underlying type.
* Altered tests per https://github.com/davidhalter/jedi/issues/1015#issuecomment-356131566
* Add NewTypeFunction to typing evaluation module
* Update AUTHORS.txt
* Add a new test, and a speculative justification
For now, address only the second comment
* Copy code from third comment on the PR
From inspection, I *believe* I understand what this code is doing, and as such, I believe this should cause the new test I added in response to the second comment to fail, because that test is based on faulty assumptions.
* Explicitly discard the key from the tuple
* Update pep0484_typing.py
* Test for the wrapped type, not the wrapper "type"
* Change the return value from calling a NewType
2019-07-01 22:42:59 -07:00
Dave Halter
cb95dbc707
Cannot use pytest 5 yet
2019-07-01 22:30:59 -07:00
Dave Halter
1e3b6a201d
Fix filters for classes and functions
2019-07-01 22:24:29 -07:00
Dave Halter
3829ef4785
Fix some small things to get more tests passing
2019-07-01 21:52:03 -07:00
Dave Halter
b382f06be0
A better repr for Definition
2019-07-01 19:40:06 -07:00
Dave Halter
94faceb57c
Merge branch 'master' of github.com:davidhalter/jedi
2019-06-30 22:14:02 -07:00
Dave Halter
a9ff58683e
Fix ClassVar filter for instances
2019-06-26 22:56:30 +02:00
Dave Halter
fafd6b2ac6
Keyword completions are no longer possible directly after a number, fixes #1085
2019-06-26 15:04:46 +02:00
Nelson, Karl E
344a03e6b2
Fix for EmptyCompiledName
2019-06-24 23:51:19 +02:00
Dave Halter
265abe1d08
Fix super call goto for multiple inheritance, fixes #1311
2019-06-24 09:53:56 +02:00
Dave Halter
ebdae87821
goto should always goto definitions, fixes #1304
2019-06-24 01:25:26 +02:00
Dave Halter
56ec79d62a
Fix star imports checks, fixes #1235
2019-06-22 16:45:56 +02:00
Dave Halter
c413b486fb
Actually import IsADirectoryError
2019-06-22 15:43:11 +02:00
Dave Halter
cb0a0d228a
Add 3.8 to supported versions
2019-06-22 14:45:22 +02:00
Dave Halter
3ae4a154f9
Fix project search if a directory is called manage.py, fixes #1314
2019-06-22 14:04:32 +02:00
Dave Halter
aa2dc6be09
Return annotations for compiled objects now help to infer
...
However only if it's a type, if it's a string, it doesn't work, yet
Fixes #1347
2019-06-22 00:15:20 +02:00
Nathaniel J. Smith
a62ba86d7b
Update parso requirement
...
Fixes #1348
2019-06-21 10:12:34 +02:00
Dave Halter
454447d422
Fix an invalid escape sequence
2019-06-20 21:43:52 +02:00
Dave Halter
02d10a3aff
Some small CHANGELOG changes
2019-06-20 21:27:06 +02:00
Dave Halter
4479b866ff
CompiledContext should not have a file
2019-06-20 20:30:23 +02:00
Dave Halter
907fdaa153
Fix some minor errors
2019-06-20 09:53:40 +02:00
Dave Halter
b85c0db72e
Fix a typo
2019-06-19 18:32:09 +02:00
Dave Halter
8852745cf3
Add stub files to the list of features
2019-06-19 18:30:02 +02:00
Dave Halter
d1501527a2
Add a script for profiling pytest
2019-06-19 18:28:45 +02:00
Dave Halter
ccd7939a92
Remove the linter, since it's no longer developed
2019-06-19 18:27:34 +02:00
Dave Halter
db716d96e5
Use the same intro text in README
2019-06-19 18:25:59 +02:00
Dave Halter
5f81353182
Make the jedi documentation more concise
2019-06-19 18:25:11 +02:00
Dave Halter
b71a851081
Write a better introduction text
2019-06-19 10:12:23 +02:00
Dave Halter
474dcb857a
Some small docs improvements
2019-06-19 09:59:21 +02:00
Dave Halter
5ad0e3d72e
Ignore some tests for Python 3.4, because it's end of life soon and the typing library doesn't exist for it
2019-06-19 01:37:16 +02:00
Dave Halter
2cf1797465
Caching for get_parent_scope
2019-06-18 10:04:10 +02:00
Dave Halter
f2f54f2864
Create a better cache to avoid the amount of get_definition/is_definition calls in parso
2019-06-18 09:29:39 +02:00
Dave Halter
38232fe133
Fix issues with Python 3.7 tests
2019-06-15 22:26:34 +02:00
Dave Halter
4405c4f190
Skip stub tests for Python 2
2019-06-15 21:59:54 +02:00
Dave Halter
c3a0fec2d9
Fix tests for stubs
2019-06-15 21:47:03 +02:00
Dave Halter
8e3caaca7f
Improve the stub test a bit
2019-06-15 02:20:15 +02:00
Dave Halter
860f627f48
Merge branch 'master' of github.com:davidhalter/jedi
2019-06-15 02:14:29 +02:00
Dave Halter
3ddbee1666
Fix issues for socket
2019-06-15 02:07:30 +02:00
Dave Halter
fc20faf8f8
Remove _apply_qualified_name_changes, because it's really not needed
2019-06-15 01:58:54 +02:00
Dave Halter
0749e5091a
Apparently a change we made does not seem to be needed
2019-06-15 01:57:59 +02:00
Dave Halter
e61949da66
Fix some collections.deque issues
2019-06-15 01:56:49 +02:00
Dave Halter
fdad24cc0a
Fix some test errors
2019-06-15 01:42:50 +02:00
Dave Halter
3ed30409ea
Some progress in trying to make the deque work
2019-06-14 09:36:23 +02:00
Dave Halter
d55d494e0a
Merge pull request #1342 from JCavallo/ignore_unknown_super_calls
...
Ignore super calls when super class cannot be inferred
2019-06-14 00:28:08 +02:00
Trevor Sullivan
e7423696af
Added git URL to git clone command
2019-06-14 00:27:04 +02:00
Trevor Sullivan
c6c49d1476
Update manual installation directions
2019-06-14 00:27:04 +02:00
Dave Halter
4564275eba
By default a name has no qualified names
2019-06-13 09:45:59 +02:00
Dave Halter
9b610c9760
Make sure there are proper tests for goto_assignments with prefer_stubs and only_stubs
2019-06-13 09:41:23 +02:00
Jean Cavallo
ce97b0a5e7
Make sure py__bases__always return something
2019-06-13 09:37:51 +02:00
Dave Halter
5a26d4cf8f
Prefer stubs to Python names when starting to infer
2019-06-13 09:26:50 +02:00
Dave Halter
a0adff9d36
Added Changelog for goto_*
2019-06-12 19:04:58 +02:00
Dave Halter
ad2fbf71ba
Move stub tests
2019-06-12 14:00:56 +02:00
Dave Halter
097b073d20
Undo the tensorflow speedups, because they seem to cause more harm than good, see #1116
2019-06-12 10:00:45 +02:00
Jean Cavallo
a3afdc0ece
Ignore super calls when super class cannot be inferred
2019-06-12 09:51:08 +02:00
Dave Halter
ed092e6da7
Better error message, when typeshed is missing, see #1341
2019-06-12 00:08:54 +02:00
Dave Halter
78973a9f35
Move execute_evaluated to HelperContextMixin
2019-06-11 17:46:30 +02:00
Dave Halter
f672d3329a
Make sure that execute is always called with arguments
2019-06-11 09:37:24 +02:00
Dave Halter
be269f3e1c
Remove a print
2019-06-10 22:21:41 +02:00
Dave Halter
c1047bef4f
Ignore warnings for numpydocs
2019-06-10 21:41:15 +02:00
Dave Halter
1b0677ec55
Fix some test imports
2019-06-10 19:48:46 +02:00
Dave Halter
5ef0563abe
Don't use stub_to_python_context_set anymore
2019-06-10 19:39:26 +02:00
Dave Halter
56d8945d17
Use convert_context function for docs lookup
2019-06-10 19:17:50 +02:00
Dave Halter
7f853a324a
Fix a small copy paste fail
2019-06-10 19:05:03 +02:00
Dave Halter
7f3e55df02
Fix conversion for contexts
2019-06-10 18:56:37 +02:00
Dave Halter
144aa97c00
Fix imports for some tests
2019-06-10 17:41:29 +02:00
Dave Halter
9871fe2adf
Be even more strict with numpy doctsring parsing, it should just be ignored if it fails in any ways
2019-06-10 17:40:39 +02:00
Dave Halter
95f3aed82c
Eliminate more actual appearances
2019-06-10 16:16:34 +02:00
Dave Halter
8ba3e5d463
Change some names from actual -> python
2019-06-10 16:02:05 +02:00
Dave Halter
c8937ccdbf
Add only_stubs and prefer_stubs as parameters to goto_assignments/goto_definitions
2019-06-10 15:59:12 +02:00
Dave Halter
49f652a2ad
Better comment
2019-06-10 03:27:33 +02:00
Dave Halter
12dbdbf258
qualified names for imports with relative paths have not been solved, yet
2019-06-10 03:20:54 +02:00
Dave Halter
abba305f64
Better debugging
2019-06-10 03:19:32 +02:00
Dave Halter
d4cccd452d
Fix qualified_names for some cases
2019-06-10 03:17:50 +02:00
Dave Halter
a555def6ca
Use a different function signature instead of a separate goto_stubs function
2019-06-10 02:27:22 +02:00
Dave Halter
827a79861d
Add tests for positional only params
2019-06-09 22:56:20 +02:00
Dave Halter
42b6e20729
Changes for 3.8: sync_comp_for instead of comp_for
...
Please also look at the changes for parso in its b5d50392a4058919c0018666cdfc8c3eaaea9cb5 commit
2019-06-09 18:05:34 +02:00
Dave Halter
f3364a458c
Better repr for DictFilter
2019-06-09 15:00:18 +02:00
Dave Halter
48b1b9a1aa
Make sure that 3.8 is a supported Python environment going forward (and remove 3.3)
2019-06-08 02:11:45 +02:00
Dave Halter
787276366e
Use the same environment in 3.8 for travis
2019-06-08 02:05:43 +02:00
Dave Halter
6e758acd16
Add Python 3.7 to travis testing
2019-06-08 01:54:08 +02:00
Dave Halter
eef02e5c56
Fix generator issues for typing
2019-06-08 01:50:38 +02:00
Dave Halter
26951f5c18
Fixed a few failing tests, that were failing, because of the qualified_names changes
2019-06-08 01:05:40 +02:00
Dave Halter
bb42850d63
Improve the Changelog a bit
2019-06-08 00:29:47 +02:00
Dave Halter
0ff1a88cc4
Use get_qualified_names for full_name
2019-06-08 00:18:31 +02:00
Dave Halter
f80828cb07
Fix issues with simple_getitem and mixed objects
2019-06-07 03:00:01 +02:00
Dave Halter
65d5c6eb2b
Disable some more tests in Python 2
2019-06-07 02:45:48 +02:00
Dave Halter
94dfe7bf69
Use even more stubs to get more complex completions for e.g. strings working
2019-06-07 02:37:51 +02:00
Dave Halter
97f342fc4c
Fix qualified names for CompiledObject
2019-06-07 01:33:37 +02:00
Dave Halter
a43a6cbc06
Add interpreter tests for collections.Counter
2019-06-06 23:44:55 +02:00
Dave Halter
8c495a1142
More tests for deque
2019-06-06 20:46:19 +02:00
Dave Halter
5d3028bd1f
Fix completions for collections.deque
2019-06-06 20:34:50 +02:00
Dave Halter
07f9f241c6
py__call__ is now always available
2019-06-06 10:04:48 +02:00
Dave Halter
659c043584
Get rid of py__getattribute__ overriding that wasn't needed
2019-06-06 00:49:36 +02:00
Dave Halter
b98bf07767
Avoid failing if additional dynamic modules is defined with files that don't exist
2019-06-06 00:43:24 +02:00
Dave Halter
84eb91beaa
Add a few tests about simple completions for interpreters
2019-06-06 00:17:37 +02:00
Dave Halter
de03b96232
Fix a small issue about accesses
2019-06-05 23:29:45 +02:00
Dave Halter
0d11a94dad
Use latest grammar for parsing docstrings
2019-06-05 23:03:15 +02:00
Dave Halter
da4e6f275e
Fix stub lookups for MixedObject
2019-06-05 19:46:40 +02:00
Dave Halter
b24e782b7d
Cleaned up create_context for methods
...
Some improvements made a lot of things clearer about function/method contexts, therefore
the code is now clearer.
2019-06-05 10:11:51 +02:00
Dave Halter
1139761525
Fix some of the mixed test failures
2019-06-05 00:28:48 +02:00
Dave Halter
0a56211df8
Setting correct parents for CompiledObject filters
2019-06-04 23:31:42 +02:00
Dave Halter
586354b571
Remove the unused function get_node
2019-06-03 20:33:03 +02:00
Dave Halter
bade4e661f
Some changes to get stubs working better for mixed objects
2019-06-03 20:28:04 +02:00
Dave Halter
c8d658e452
A first very incomplete implementation of named expression support
2019-06-03 00:11:49 +02:00
Dave Halter
30526c564e
Correct some regex SyntaxWarnings
2019-06-03 00:06:23 +02:00
Dave Halter
8ec6f54f86
Fix an issue about boolean params resolving
2019-06-02 18:31:52 +02:00
Dave Halter
1213b51c66
Imports completions after a semicolon work now
2019-06-02 17:54:00 +02:00
Dave Halter
c6173efe61
Remove sith test from travis. Never looked it it. Just run it locally
2019-06-01 18:21:40 +02:00
Dave Halter
5ba8fd1267
Fix none test for Python 2
2019-06-01 17:58:01 +02:00
Dave Halter
4aa91efc2e
Get python3.4 on travis working
2019-06-01 12:18:21 +02:00
Dave Halter
448f08b74e
Merge branch 'travis' of https://github.com/blueyed/jedi into travis
2019-06-01 12:00:36 +02:00
Dave Halter
b4e41ef953
Don't use logger, use debug, which is used everywhere
2019-05-31 23:45:22 +02:00
Dave Halter
fcf214b548
Start using file io when opening random modules
2019-05-31 23:42:19 +02:00
Dave Halter
b9e8bff5e2
Start using FileIO in modules
2019-05-31 22:10:49 +02:00
Dave Halter
9c40c75136
Add file_io for Jedi for listdir
2019-05-31 21:25:48 +02:00
Dave Halter
77bd393a92
Simplified module repr
2019-05-31 21:11:12 +02:00
Dave Halter
55d40e22b3
Apparently numpydoc can fail with numpydoc.docscrape.ParseError as well, just ignore all exceptions
2019-05-31 17:54:21 +02:00
Dave Halter
190793d82f
Fix an AttributeError
2019-05-31 17:44:03 +02:00
Dave Halter
d6c89ced99
goto should work on globals
2019-05-31 17:41:34 +02:00
Dave Halter
d9332aec8c
Fix tuple unpacking for special case
2019-05-31 17:07:51 +02:00
Dave Halter
cdc9520c9d
Fix an issue with None docstrings
2019-05-31 15:31:46 +02:00
Dave Halter
6cdde65052
Fix an issue with namedtuples
2019-05-31 15:21:03 +02:00
Dave Halter
6d62e55b5e
Fix a small issue regarding typing filters, fixes #1339
2019-05-31 14:19:48 +02:00
Dave Halter
ed93bbfb68
Cleanup the mess of comprehensions at least a bit
2019-05-31 14:04:37 +02:00
Dave Halter
39eefdbc00
Remove a TODO that was already done
2019-05-31 13:38:42 +02:00
Dave Halter
1e9e684575
GeneratorBase -> GeneratorMixin
2019-05-31 13:37:01 +02:00
Dave Halter
3fb5b4992b
Fix: Function calls with generators should always work, even if syntastically invalid
2019-05-31 13:35:23 +02:00
Dave Halter
4d647238b3
Fix sith.py line number generation
2019-05-31 11:18:49 +02:00
Dave Halter
f83c38f5c1
Fix a very random issue with executed contexts
2019-05-31 11:05:34 +02:00
Dave Halter
f7076da700
Get rid of follow_definition and replace it with infer
2019-05-31 00:35:18 +02:00
Dave Halter
9a713bc36f
Fix create_context for param default arguments/annotations
2019-05-31 00:21:35 +02:00
Dave Halter
c6dcfcdf6d
Remove code that is not used anymore
2019-05-30 01:29:56 +02:00
Dave Halter
df038d8f05
Modules are obviously not executable, but should not lead to traceback when executed
2019-05-30 00:17:38 +02:00
Dave Halter
0e5b17be85
Tests and fixes for keyword completions
2019-05-29 01:26:38 +02:00
Dave Halter
4b3262622b
Fix generator issues that were caused by the small refactoring
2019-05-28 23:27:25 +02:00
Dave Halter
3ef99863ee
Even more indent increases for debugging
2019-05-28 18:58:58 +02:00
Dave Halter
255d4fc04f
Better debugging with the increase_indent_cm
2019-05-28 18:50:46 +02:00
Dave Halter
742f385f23
Add a context manager for increasing indents
2019-05-28 10:53:05 +02:00
Dave Halter
0cc7ea9bc9
Fix crazier subscript operations
2019-05-28 10:20:06 +02:00
Dave Halter
b39928188f
Rewrite BuiltinOverwrite with ContextWrappers
2019-05-28 09:48:54 +02:00
Dave Halter
946869ab23
Fix tests
2019-05-28 01:59:32 +02:00
Dave Halter
5fa8338886
Enable a test that is kind of xfailing
2019-05-28 01:55:22 +02:00
Dave Halter
ec7b6b8d80
Fix stub function inferrals
2019-05-28 01:51:37 +02:00
Dave Halter
6f41530a03
Very small refactoring
2019-05-27 23:57:23 +02:00
Dave Halter
1002acf907
Rename AnnotatedClass to GenericClass
2019-05-27 21:21:42 +02:00
Dave Halter
d2355ea53b
Remove dead code
2019-05-27 21:12:08 +02:00
Dave Halter
bee9bd7621
given_types -> generics
2019-05-27 21:08:19 +02:00
Dave Halter
5a6d8ba010
Implement typing.cast
2019-05-27 20:59:04 +02:00
Dave Halter
8d24e35fa9
Fix signatures for builtin methods
2019-05-27 20:33:58 +02:00
Dave Halter
fc4d1151c7
Remove even more code that is probably not needed
2019-05-27 19:14:56 +02:00
Dave Halter
c9e3e6902b
Removed dead code
2019-05-27 19:06:57 +02:00
Dave Halter
2a3ecbac60
Remove Coroutine classes again, they may not be needed after all
2019-05-27 09:47:32 +02:00
Dave Halter
8e27c60120
Fix async function inferring with decorators, fixes #1335
2019-05-27 09:47:05 +02:00
Dave Halter
11f3eece6d
Preparations for some async changes
2019-05-27 09:41:50 +02:00
Daniel Hahler
901182bcfc
include py38-dev
2019-05-24 16:07:53 +02:00
Daniel Hahler
6a67d2dad2
pyenv-whence
2019-05-24 16:03:56 +02:00
Daniel Hahler
1411fc11ee
pyenv-system
2019-05-24 16:03:55 +02:00
Daniel Hahler
8e2e73fd81
fixup! Activate pyenv version [skip appveyor]
2019-05-24 16:03:25 +02:00
Daniel Hahler
4292129652
Activate pyenv version
2019-05-24 16:03:25 +02:00
Daniel Hahler
877705ca42
ci: Travis: dist=xenial
2019-05-24 16:03:23 +02:00
Dave Halter
7bd3669220
A small test change
2019-05-24 10:36:14 +02:00
Dave Halter
9aa8f6bcf2
Better signature calculation
2019-05-23 01:36:51 +02:00
Dave Halter
b2b08ab432
Better annotation signature string for classes
2019-05-22 20:34:35 +02:00
Dave Halter
3bec1a6938
Better signature generation
2019-05-22 20:31:30 +02:00
Dave Halter
9bb88b43ca
Fix stub_to_actual_context_set for bound methods
2019-05-22 10:35:04 +02:00
Dave Halter
a2931d7a48
Introduce is_bound_method
2019-05-22 10:19:47 +02:00
Dave Halter
d241c31e3c
Try to make qualified_names access clearer
2019-05-22 10:10:37 +02:00
Dave Halter
b1e6901d61
Some more signature tests
2019-05-22 00:51:52 +02:00
Dave Halter
f46d676130
Fix signature tests
2019-05-22 00:44:20 +02:00
Dave Halter
9463c112df
Cleanup of finalizer did not work properly
2019-05-22 00:26:27 +02:00
Dave Halter
d44e7086d7
For now use parso master for tox testing
2019-05-22 00:17:42 +02:00
Dave Halter
c05629b3de
Adapt small changes in parso's FileIO
2019-05-22 00:03:01 +02:00
Dave Halter
c64ee8a07c
Make it clear what a param needs to implement
2019-05-21 18:21:40 +02:00
Dave Halter
857f6a79ae
Merge branch 'master' of github.com:davidhalter/jedi
2019-05-21 13:39:27 +02:00
micbou
744662d096
Fix resource warnings
2019-05-21 13:35:12 +02:00
micbou
81e7dcf31e
Enable all warnings when running tests
2019-05-21 13:35:12 +02:00
micbou
eca845fa81
Restrict Sphinx version in tests
2019-05-21 12:07:17 +02:00
micbou
3df63cff12
Fix docstring tests
2019-05-21 12:07:17 +02:00
micbou
16b64f59b7
Fix transform_path_to_dotted tests on Windows
...
Compiled modules end with the .pyd extension on Windows.
2019-05-21 12:07:17 +02:00
micbou
6f9f5102d0
Fix correct_zip_package_behavior tests on Windows
2019-05-21 12:07:17 +02:00
Dave Halter
b17e7d5746
A work in progress improvement for compiled signatures
2019-05-21 09:37:17 +02:00
Dave Halter
95cd8427f4
Fix a NotImplementedError when loading random modules
2019-05-20 09:54:41 +02:00
Dave Halter
03de39092a
Reindent some code
2019-05-20 09:34:12 +02:00
Dave Halter
aa924cd09b
Small change for a comment
2019-05-20 09:30:13 +02:00
Dave Halter
beacb58eb1
Remove a NotImplementedError and a bit of code where we don't seem to pass anymore
2019-05-20 09:20:49 +02:00
Dave Halter
70527d7329
Merge branch 'repr' of https://github.com/blueyed/jedi
...
Fixed a small merge conflict by hand.
2019-05-20 00:31:32 +02:00
Dave Halter
f01b2fb4d9
Merge pull request #1160 from blueyed/pytest
...
py.test -> pytest renamings. Originally "Revisit pytest config"
2019-05-20 00:23:20 +02:00
Dave Halter
655344c09c
Merge branch 'master' into pytest
2019-05-20 00:21:57 +02:00
Dave Halter
d2d1bb4def
Raise a speed limit a bit to avoid false positives
2019-05-19 18:22:47 +02:00
Dave Halter
b5016d6f43
Another try with MANIFEST.in
2019-05-19 18:13:18 +02:00
Dave Halter
7583d297ad
Deal with SyntaxErrors coming from numpydoc when used with Python 2
2019-05-19 18:12:01 +02:00
Dave Halter
146ddd5669
Fix a few unicode accesses for Python 2
2019-05-19 17:52:35 +02:00
Dave Halter
ffd720c323
Rewrite reversed a bit
2019-05-19 17:51:30 +02:00
Dave Halter
8cad21819c
Add only stubs/README/LICENSE, when packaging typshed
2019-05-19 17:14:49 +02:00
Dave Halter
016e66846b
After upgrading tox, packaging works again
2019-05-19 17:11:29 +02:00
Dave Halter
6cf6903d32
It should be possible to pass posargs to pytest for tox
2019-05-19 17:01:25 +02:00
Dave Halter
ea490b9a2b
Remove remap_type_vars, which was never used
2019-05-19 16:15:52 +02:00
Dave Halter
7ec76bc0b5
Remove get_matching_functions, it was unused code
2019-05-19 16:06:22 +02:00
Dave Halter
4b2518ca9a
Remove special objects, they are no longer needed
2019-05-19 14:28:39 +02:00
Dave Halter
1b668966ce
Better completions for MethodType
2019-05-19 14:27:09 +02:00
Dave Halter
c4f0c7940f
Remove MODULE_CLASS in favor of a typeshed solution
2019-05-19 14:22:03 +02:00
Dave Halter
f9eedfbf64
Remove FUNCTION_CLASS, in favor of a typeshed solution
2019-05-19 14:19:30 +02:00
Dave Halter
05a3d7a3bc
Remove _create_class_filter, it was unused
2019-05-19 14:06:21 +02:00
Dave Halter
cbd16e6d6b
Bump latest grammar from 3.6 to 3.7
2019-05-19 14:03:29 +02:00
Dave Halter
7d41fb970e
Fixed a typo
2019-05-19 14:02:29 +02:00
Dave Halter
3251d8ffe6
Bump Jedi version to 0.13.0
2019-05-19 14:02:15 +02:00
Dave Halter
6eb92f55df
Apparently we need to whitelist pytest for tox to avoid a warning
2019-05-19 13:59:49 +02:00
Dave Halter
c654301f22
Add thirdpart/typeshed to MANIFEST.in
2019-05-19 13:59:25 +02:00
Dave Halter
55feb95d41
Fix an issue with the latest typeshed upgrade in tests
2019-05-19 13:27:38 +02:00
Dave Halter
9e29e35e16
Upgrade typeshed
2019-05-19 13:27:25 +02:00
Dave Halter
8db3bb3dc1
Upgrade typeshed to latest master and fix reversed execution
2019-05-18 23:35:28 +02:00
Dave Halter
7f5225cb70
Fix a setup.py assertion
2019-05-18 22:34:19 +02:00
Dave Halter
dc2f4e06c8
Fix a few casts for Python 2/3 interopability
2019-05-18 20:51:42 +02:00
Dave Halter
61ccbb0d3e
Make sure to use a python 3 parser for stub files
2019-05-18 18:25:32 +02:00
Dave Halter
4176af337f
A few Python 2 fixes
2019-05-18 01:09:09 +02:00
Dave Halter
cc68942ec1
Make sure that the deployment process checks out git submodules (e.g. typeshed)
2019-05-18 00:20:56 +02:00
Dave Halter
52ae6e7f0b
Remove a print statement
2019-05-18 00:19:06 +02:00
Dave Halter
ba59ab40ab
Make sure in setup.py that the typeshed submodule is loaded
2019-05-18 00:14:53 +02:00
Dave Halter
0fb5fd271a
Better scanning for module names, now includes namespace packages and stubs
2019-05-18 00:11:08 +02:00
Dave Halter
8e3f85c475
Revert "One more small test change"
...
This reverts commit a6693616a0 .
2019-05-17 23:49:26 +02:00
Dave Halter
b1bd630a37
Make it possible to use error for debugging
2019-05-17 23:39:26 +02:00
Dave Halter
4b829c358b
Fix an import names completion issue
2019-05-17 23:34:17 +02:00
Dave Halter
02ab71ff26
Tests for stub import completions
2019-05-17 16:53:34 +02:00
Dave Halter
ac962ea6db
Refactor stub completions a bit
2019-05-17 16:21:13 +02:00
Dave Halter
7de5fee3ad
Minor change, because of typeshed changes
2019-05-17 16:09:23 +02:00
Dave Halter
e70c49fea2
Use completions from both stubs and actual modules
2019-05-17 16:04:16 +02:00
Dave Halter
c640aa9213
goto_assignments should work even if something is only defined in a stub
2019-05-17 14:58:55 +02:00
Dave Halter
9d5f57d798
Make sure inferring works even if a stub doesn't have all variables defined
2019-05-17 14:45:22 +02:00
Dave Halter
063eef3eaf
Call goto_definitions for goto_assigments if we're on a name
2019-05-17 12:37:02 +02:00
Dave Halter
b5d1e00930
Deal better with instance conversions for stubs
2019-05-17 12:27:53 +02:00
Dave Halter
f53c977069
Fix an issue with stub conversion
2019-05-16 00:52:14 +02:00
Dave Halter
051db30dfb
Proper loading for third-party stub packages
2019-05-16 00:45:09 +02:00
Dave Halter
4f64dd30f9
Make sure Python is still loadable in stub only folders
2019-05-15 22:23:23 +02:00
Dave Halter
904c4d04bb
Make sure Python is still loadable in mixed stub/python folders
2019-05-15 22:20:57 +02:00
Dave Halter
f49d48fbd2
Add a few more tests for nested stub folders
2019-05-15 22:18:22 +02:00
Dave Halter
e4170d65b7
Make namespace folders work with stubs
2019-05-15 21:55:54 +02:00
Dave Halter
b7eeb60e9c
Move stub caching around
2019-05-15 21:10:35 +02:00
Dave Halter
7fc7e631f8
Move a part of stub lookups
2019-05-15 21:06:36 +02:00
Dave Halter
0e95aaeaad
A first try to load foo-stub directories
2019-05-15 08:19:46 +02:00
Dave Halter
dcbc60e1f0
Add a docstring to mention PEP 561
2019-05-14 21:12:34 +02:00
Dave Halter
03f29c51cf
Improve stub loading from random places
2019-05-14 21:09:20 +02:00
Dave Halter
5ff3e4d1d1
Implement stub tests and a first iteration of loading them from some random place
2019-05-13 10:13:59 +02:00
Dave Halter
8b1d4a7824
Fix call signatures, use stubs if possible
2019-05-11 12:44:20 +02:00
Dave Halter
079783e3a1
Move trying to resolve stubs to a different place
2019-05-10 22:33:49 +02:00
Dave Halter
409bf907d9
Fix os path imports
2019-05-10 10:08:14 +02:00
Dave Halter
4a2ada56e5
Remove two asserts that were pointless
2019-05-10 01:31:12 +02:00
Dave Halter
de7b638e6c
Remove StubClass, it should really not be needed anymore
2019-05-10 01:29:06 +02:00
Dave Halter
a6a71c59f4
Move some contents of gradual.stub_contexts to gradual.conversion
2019-05-10 01:24:58 +02:00
Dave Halter
e57ff54caa
Some minor moving
2019-05-10 01:19:59 +02:00
Dave Halter
1430ac2675
Remove more unused code that was used for goto a long time ago
2019-05-10 01:12:03 +02:00
Dave Halter
eb07c0b4cf
Remove a bit of code that was used to write goto code and is not used anymore
2019-05-10 01:07:53 +02:00
Dave Halter
be6760e427
Introduce get_qualified_names for names, it's easier to implement goto like this
2019-05-10 01:07:21 +02:00
Dave Halter
f8f858216f
Make goto_assignments in BaseDefinition simpler
2019-05-08 22:00:13 +02:00
Dave Halter
037a069ddd
Made TreeArguments methods a bit more understandable
2019-05-08 09:30:39 +02:00
Dave Halter
dc15470e0b
ImportName should resolve properly to the module that it was designed to resolve for
2019-05-07 09:43:55 +02:00
Dave Halter
895eae1d54
Move all Name classes to a separate file
2019-05-07 00:30:16 +02:00
Dave Halter
ad48ec4cfd
With typeshed OsPathName is no longer needed
2019-05-07 00:09:19 +02:00
Dave Halter
a6693616a0
One more small test change
2019-05-06 23:59:39 +02:00
Dave Halter
ea6462daf4
Forgot to add evaluate/names.py earlier
2019-05-06 19:50:26 +02:00
Dave Halter
67d7f8d867
Remove the load_stubs function, it's not needed anymore
2019-05-06 19:50:03 +02:00
Dave Halter
ee86b58ab9
Remove a usage of load_stubs, because we are already using stubs
2019-05-06 19:48:15 +02:00
Dave Halter
5099ef15b4
Move ImportName and add os path name to the submodule dict
2019-05-06 09:35:21 +02:00
Dave Halter
c675e85d69
Use sub_module_dict for completing modules, not its own function
2019-05-06 09:19:33 +02:00
Dave Halter
afced5014c
Cleanup stub imports / caching
2019-05-05 22:52:48 +02:00
Dave Halter
cabdb7f032
sub_modules_dict improvement
2019-05-05 21:49:55 +02:00
Dave Halter
8fcf885de3
Small refactoring
2019-05-05 21:35:06 +02:00
Dave Halter
2d6c037f39
Some forgotten renames in tests
2019-05-05 21:05:38 +02:00
Dave Halter
d9919efb4c
is_compiled fix
2019-05-05 21:03:37 +02:00
Dave Halter
1302d8abef
Remove _add_non_stubs_in_filter
2019-05-05 21:00:07 +02:00
Dave Halter
c6586ed811
Remove _get_base_filters
2019-05-05 20:58:34 +02:00
Dave Halter
eb0977b700
helpers.is_compiled -> context.is_compiled
2019-05-05 20:55:18 +02:00
Dave Halter
b7c866f5e4
stub_only -> stub
2019-05-05 20:47:48 +02:00
Dave Halter
7c385f72a1
StubOnly -> Stub, for all different classes
2019-05-05 20:46:45 +02:00
Dave Halter
9af8638589
Small test fix
2019-05-05 20:30:11 +02:00
Dave Halter
16ec84efe4
Some test compiled fixes
2019-05-05 20:12:36 +02:00
Dave Halter
c0c1aff577
Remove get_call_signature_for_any
2019-05-05 19:51:54 +02:00
Dave Halter
45a5eee18a
Better control over docstring generation
2019-05-05 19:50:52 +02:00
Dave Halter
d0b0fb3cb3
Docstrings for classes should use the class name and not __init__
2019-05-05 19:38:01 +02:00
Dave Halter
f71d6883d9
Fixed signatures for keywords
2019-05-05 19:25:00 +02:00
Dave Halter
43849d2b8e
Remove stub compiled classes
2019-05-05 19:20:12 +02:00
Dave Halter
2d8d4d5c99
Small test fixes for parser utils
2019-05-05 19:17:38 +02:00
Dave Halter
2cb1bd162f
Better signature support for docstrings
2019-05-05 19:09:21 +02:00
Dave Halter
f996df087e
Better docstring help
2019-05-05 17:21:23 +02:00
Dave Halter
c647bfa490
Fix a test
2019-05-05 17:09:15 +02:00
Dave Halter
a925301caf
Remove the rest of the stub contexts
2019-05-05 16:12:55 +02:00
Dave Halter
202b1784a1
Remove with_stub_context_if_possible
2019-05-05 16:04:24 +02:00
Dave Halter
87fd56859d
Remove stubify
2019-05-05 16:02:18 +02:00
Dave Halter
73aca23615
Remove get_stub_contexts
2019-05-05 16:00:45 +02:00
Dave Halter
44b9b8787a
Some Bugfixes
2019-05-05 15:59:37 +02:00
Dave Halter
171874d288
Fix all gradual tests
2019-05-05 15:33:56 +02:00
Dave Halter
329270e444
Add is_compiled and a few other things to be more compatible with the new way of handling stubs
2019-05-05 13:23:29 +02:00
Dave Halter
4d3a698a12
Refactor things so goto is working in both directions
2019-05-05 01:16:52 +02:00
Dave Halter
df9c9d8dff
Fix a flask issue
2019-05-01 10:47:20 +02:00
Dave Halter
0e42df2da7
Refactor Jedi so we use stub modules as much as possible
2019-05-01 00:52:02 +02:00
Dave Halter
3afcfccba8
Get the tests passing again
2019-04-14 19:02:43 +02:00
Dave Halter
2f562040ac
Fix a few remaining issues about the current branch
2019-04-14 18:44:58 +02:00
Dave Halter
6ced926db0
Try to get some more stub to definitions working and vice versa
2019-04-14 17:37:48 +02:00
Dave Halter
ad0000886d
Use MethodContext in create_context
2019-04-14 00:17:14 +02:00
Dave Halter
3c74b9bf10
Remove some code that is not necessary anmore, because of an improvment in get_parent_scope
2019-04-13 01:57:50 +02:00
Dave Halter
05eb06d91b
Merge remote-tracking branch 'origin/master' into typeshed
2019-04-13 01:52:15 +02:00
Dave Halter
3602c95341
Refactor parent_scope a bit
2019-04-13 01:52:03 +02:00
Dave Halter
b2f6758a9c
Merge pull request #1313 from CXuesong/master
...
get_module_names should include top-level async functions when all_scopes=False.
2019-04-13 00:43:58 +02:00
Andreas Mittelberger
e843c6108d
fix add_bracket_after_function had no effect ( #1297 )
...
* fix add_bracket_after_function had no effect
* added test for fix
* using monkeypatch to set add_bracket_after_function.
2019-04-13 00:41:02 +02:00
forest93
2724ac9e07
Make a separate test case.
2019-04-12 23:31:06 +08:00
Dave Halter
201cf880f9
Remove an if that was unnecessary
2019-04-12 12:59:21 +02:00
Dave Halter
0bf4bf36f0
Small change
2019-04-12 12:54:38 +02:00
Dave Halter
3bef9a67b8
Refactor a bit of create_context
2019-04-12 12:34:07 +02:00
Dave Halter
3ba3d72d6b
Fix a small issue
2019-04-12 12:09:03 +02:00
Dave Halter
44639ee50e
Better py__getattribute__ for ContextSet
2019-04-11 22:59:54 +02:00
Dave Halter
0f037d0e6c
Goto for stubs is now working better
2019-04-11 22:06:23 +02:00
forest93
1e12e1e318
Make get_module_names return top-level async functions when all_scopes=False.
2019-04-11 23:38:55 +08:00
Dave Halter
bb050eebed
Move creating stub modules
2019-04-11 08:35:16 +02:00
Dave Halter
9f26c27b6d
Start adding tests for goto_assignments on stubs
2019-04-10 20:41:05 +02:00
mlangkabel
c801e24afc
fix get_system_environment misses if same python version has multiple installs
...
The Environment.__init__ may throw an InvalidPythonEnvironment if the call to _get_subprocess() fails. In this case other registered Python environments of the same Python version may still work and shall also be considered.
2019-04-09 23:01:37 +02:00
Dave Halter
31442ecb3b
Merge branch 'master' into typeshed
2019-04-09 22:58:30 +02:00
Dave Halter
24a06d2bf9
Merge branch 'names-all-scopes-false-returns-class-fields' of https://github.com/immerrr/jedi
2019-04-09 22:58:03 +02:00
Dave Halter
e61e210b41
Remove some weird changes about importing again
2019-04-09 21:48:57 +02:00
Dave Halter
255d0d9fb5
Fix builtin import issues
2019-04-09 21:15:33 +02:00
Dave Halter
8c9ac923c6
Fix import names from sys path generation
2019-04-08 19:35:58 +02:00
Dave Halter
85fc799d62
Reintrodue a piece of sys_path code with test
...
This piece was thought to not be needed. It turns out it is
2019-04-08 10:05:12 +02:00
Dave Halter
3d5b13c25e
Test function rename
2019-04-08 01:56:24 +02:00
Dave Halter
cccbf50a0e
Fix an issue with transform_path_to_dotted
2019-04-08 01:56:05 +02:00
Dave Halter
e50f65527d
Somehow removed a test when merging
2019-04-08 01:34:12 +02:00
Dave Halter
a356859e7e
Got something small wrong with compatibility
2019-04-07 22:03:26 +02:00
Dave Halter
96d607d411
Cross Python version fixes for unicode/bytes things
2019-04-07 21:51:25 +02:00
Dave Halter
d6232e238a
Merge branch 'master' into ts2
2019-04-05 15:44:25 +02:00
Nikhil Mitra
8d0c4d3cec
Resolve path in get_cached_default_environment() in api/environment.py to
...
prevent unnecessary cache busting when using pipenv.
2019-04-05 15:21:46 +02:00
Dave Halter
e95f4c7aa5
Fix module loading in Python 2
2019-04-05 13:39:27 +02:00
Dave Halter
d222d78c7b
Zip imports don't have to work in Python2
2019-04-05 12:31:24 +02:00
Dave Halter
aaae4b343e
Errors in import module are now better reported
2019-04-05 12:21:05 +02:00
Dave Halter
7ccc0d9d7b
Another Python2 fix
2019-04-05 12:20:46 +02:00
Dave Halter
02b01a8bc3
Fix an import error for Python 2
2019-04-04 13:20:41 +02:00
Dave Halter
c0f5c5f24c
print_to_stderr can be replaced with a proper future import
2019-04-03 09:37:40 +02:00
Dave Halter
c997d568f3
Remove unused code
2019-04-03 09:30:22 +02:00
Dave Halter
87bcaadf40
Fix a 3.7 issue
2019-04-03 01:16:52 +02:00
Dave Halter
f4a6856e54
Fix some tests
2019-04-03 01:04:18 +02:00
Dave Halter
fa17681cf6
Goto definitions goto stubs now have a proper implementation
2019-04-03 00:28:15 +02:00
Dave Halter
7c56052d58
Make infer public on classes
2019-04-01 09:25:00 +02:00
Dave Halter
2fc53045c7
Goto stubs if on definition
2019-03-31 01:19:35 +01:00
Dave Halter
2f1ce2bbf9
Some test fixes
2019-03-28 19:23:55 +01:00
Dave Halter
aa37f6f738
Fixes for _follow_error_node_imports_if_possible
2019-03-28 10:12:23 +01:00
Dave Halter
2ad652a071
Fix a few more goto_definition error_node imports
2019-03-28 09:34:57 +01:00
Dave Halter
ab8d7e8659
Running a test should not fail if nothing is selected
2019-03-28 08:59:59 +01:00
Dave Halter
7cd79c440c
Try to read bytes if possible, not unicode
2019-03-27 22:19:57 +01:00
Dave Halter
a4b5950495
Make it possible to use the parse functions without file_io
2019-03-27 01:05:45 +01:00
Dave Halter
04095f7682
Uncomment previous zip tests that needed bugfixing first
2019-03-27 00:56:15 +01:00
Dave Halter
1c105b5c68
Follow error node imports properly in goto assignments as well
2019-03-27 00:53:35 +01:00
Dave Halter
f4c17e578c
Make it possible to use goto_definition on "broken" imports
2019-03-27 00:39:51 +01:00
Dave Halter
993567ca56
Remove submodule dict issues from namespace packages
2019-03-26 18:42:47 +01:00
Dave Halter
e01d901399
Test zip imports that have nested modules
2019-03-26 09:33:54 +01:00
Dave Halter
a437c2cb02
Fix test_imports tests, now zip imports work again
2019-03-26 09:16:38 +01:00
Dave Halter
b6612a83c3
WIP import improvement, getting rid of bad old code
2019-03-21 23:22:19 +01:00
Dave Halter
151935dc67
Avoid property, because there's a __getattr__ on that class
2019-03-21 18:49:56 +01:00
Dave Halter
ad69daf1a3
Update the imports in zip file to be correct
2019-03-20 22:21:47 +01:00
Dave Halter
234f3d93cd
Rewrite py__package__ to return a list
2019-03-18 10:01:18 +01:00
micbou
77a7792afc
Fix transform_path_to_dotted tests on Windows
...
Convert paths to normalized absolute ones in transform_path_to_dotted
tests.
2019-03-16 17:34:00 +01:00
Dave Halter
e2fea0a5de
Fix some tests because of stub_context changes
2019-03-16 01:09:30 +01:00
Dave Halter
fce37fa0e3
Remove a few prints
2019-03-16 00:23:52 +01:00
Dave Halter
7ab3586e52
Merge branch 'master' into typeshed
2019-03-14 09:26:25 +01:00
Dave Halter
92a8a84ff2
Fix sys.path completions, #1298
2019-03-13 21:11:20 +01:00
Dave Halter
156e5f6beb
Add two typeshed tests
2019-03-13 10:04:19 +01:00
Dave Halter
8e9a91abf8
Implement is_stub and goto_stubs for the API
2019-03-11 19:13:24 +01:00
Dave Halter
32d2397e64
Move test_stub to test_gradual
2019-03-10 12:02:51 +01:00
Dave Halter
087a58965b
Add a typeshed test
2019-03-10 12:01:00 +01:00
Dave Halter
b7a164afa8
Merge branch 'master' into typeshed
2019-03-08 18:59:33 +01:00
Dave Halter
b659b20d27
Fix an issue between different subprocess versions
2019-03-08 18:20:00 +01:00
Dave Halter
d77e43b57d
Enforce unicode because of Python 2
2019-03-08 16:41:08 +01:00
Dave Halter
bfd8ce475a
Merge master into typeshed
2019-03-08 16:36:06 +01:00
Dave Halter
967d35e4be
Correct a docstring
2019-03-08 16:35:15 +01:00
Dave Halter
0cad79ad18
Merge branch 'master' into typeshed
2019-03-08 16:25:45 +01:00
Dave Halter
cd8c9436c5
Merge branch 'master' of github.com:davidhalter/jedi
2019-03-08 16:23:46 +01:00
Dave Halter
f93134d4f8
Two simple test fixes
2019-03-08 16:23:37 +01:00
Dave Halter
5743f54d69
One more relative import fix
2019-03-08 16:01:56 +01:00
Dave Halter
1914d10836
Fix relative imports outside of the proper paths
2019-03-08 14:25:54 +01:00
Dave Halter
6b579d53ec
Some more refactoring for relative imports
2019-03-08 10:54:28 +01:00
Stanislav Grozev
6031971028
Use expanded paths when looking for virtualenv root
...
This fixes virtualenv resolution under macOS and Pipenv.
2019-03-08 01:22:21 +01:00
Dave Halter
c1d65ff144
Start reworking the relative imports
2019-03-07 00:27:51 +01:00
Dave Halter
7374819ade
Add a repr to ImplicitNamespaceContext
2019-03-06 08:36:50 +01:00
Dave Halter
9d19b060a9
Add a better comment for imports
2019-03-04 09:34:17 +01:00
Dave Halter
23d61e5e97
Restructure relative importing a bit and improve tests
2019-03-04 09:24:38 +01:00
micbou
46742328b6
Improve test_import_completion_docstring robustness
2019-03-02 09:58:01 +01:00
Dave Halter
467c2e5def
Merge branch 'master' into typeshed
...
There were quite a few conflicts, because there were two rewrites of the path
to dotted function.
2019-03-01 10:13:16 +01:00
Dave Halter
ffd9a6b484
Make it possible to complete in non-Python files
2019-02-28 20:04:17 +01:00
Dave Halter
8aca357de6
Write a test for #1209
...
Relative imports were failing in nested Python packages. With the fix to
transforming paths to dotted paths this should already be a lot better,
still here's a regression test.
2019-02-28 09:51:47 +01:00
Dave Halter
1a32663f85
The calculation of dotted paths from normal paths was completely wrong
2019-02-28 09:42:56 +01:00
tamago324
4fecca032d
Fix typo
2019-02-27 20:40:59 +01:00
Dave Halter
2a9e678877
Merge branch 'master' into typeshed
2019-02-27 13:13:17 +01:00
Dave Halter
17136e03d2
Fix get_parent_scope
2019-02-27 13:08:21 +01:00
Dave Halter
94f2677752
Fix names selection and params, fixes #1283
2019-02-26 00:20:33 +01:00
Dave Halter
eac69aef2b
Infer names in the correct way, fixes #1286
2019-02-25 21:48:57 +01:00
Dave Halter
2dd2d06bca
Add a todo
2019-02-25 00:27:27 +01:00
Dave Halter
5a2e3ee8e3
Filter self names in a more correct way, fixes #1275
2019-02-25 00:26:34 +01:00
Dave Halter
8ac7d1fdb6
Use the internal parse function to avoid UnicodeDecodeError in mixed, fixes #1277
2019-02-24 19:56:17 +01:00
Dave Halter
0bf8a69024
v13.3 release notes
2019-02-24 18:45:07 +01:00
Dave Halter
9bb8f335c9
A small improvement for environments
...
see comment in 8d313e014f
2019-02-22 01:04:01 +01:00
Dave Halter
8d313e014f
Check for specific Python versions first on unix, see davidhalter/jedi-vim#870
2019-02-22 00:34:03 +01:00
Dave Halter
a79d386eba
Cleanup SameEnvironment and use the same logic for creation in virtualenvs
2019-02-22 00:24:55 +01:00
Dave Halter
48b137a7f5
Revert "Remove an used function"
...
This reverts commit efd8861d62 .
2019-02-21 17:54:01 +01:00
Dave Halter
b4a4dacebd
Fix embedded Python with Jedi (see comments in source code), fixes davidhalter/jedi-vim#870
2019-02-21 10:19:28 +01:00
Dave Halter
efd8861d62
Remove an used function
2019-02-21 10:16:17 +01:00
Dave Halter
2f86f549f5
Improve an error message, see #1279
2019-02-16 04:32:03 +01:00
Marc Zimmermann
cc0c4cc308
fixing permission denied errors with project.json
2019-02-16 04:28:26 +01:00
Dave Halter
e3d5ee8332
Don't use a while loop in py__iter__
2019-01-25 20:09:27 +01:00
Dave Halter
3c201cc36c
Fix power operation for Python 2
2018-12-25 00:59:00 +01:00
Dave Halter
f6983d6126
Add an empty init file for Python 2
2018-12-25 00:53:26 +01:00
Dave Halter
1c80705276
Fix power operation, fixes #1268
2018-12-25 00:51:22 +01:00
Dave Halter
d3f205f634
Split up the typeshed file
2018-12-25 00:21:44 +01:00
Dave Halter
b542b17d93
Remove old todo list for annotations
2018-12-24 21:44:54 +01:00
Dave Halter
59c7623769
Move annotation pep0484 file (about anontations) to gradual folder
2018-12-24 17:48:21 +01:00
Dave Halter
e2ab4c060f
Move all the gradual typing stuff into one folder
2018-12-24 17:40:47 +01:00
Dave Halter
025b8bba76
Fix a unicode path issue
2018-12-23 16:29:25 +01:00
Dave Halter
5e7ff808d4
Fix f-string evaluation, fixes #1248
2018-12-23 15:32:37 +01:00
Dave Halter
86fbf3fef6
Fixed a string deprecation warning, fixes #1261
2018-12-22 22:49:23 +01:00
Dave Halter
24174632d4
Fix some bugs of the last few commits
2018-12-22 22:08:54 +01:00
Dave Halter
1065768c77
Use ContextualizedNode instead of Node in get_calling_nodes
...
This improves working with these nodes by a lot.
2018-12-22 14:55:37 +01:00
Dave Halter
ca784916bb
Fix get_modules_containing_name
2018-12-22 14:33:24 +01:00
Dave Halter
fcda3f7bc5
Properly handle no __getitem__ on CompiledObject
2018-12-20 00:34:15 +01:00
Dave Halter
fcda62862c
Fix calculate_dotted_path_from_sys_path. It was broken beyond stupid.
2018-12-18 09:30:49 +01:00
Dave Halter
881ffadb5c
Python 3.7 was not disabled in the right way for travis
2018-12-16 19:24:10 +01:00
Dave Halter
7b20ad7749
Make a doctest simpler that only led to issues in the past
2018-12-16 19:22:17 +01:00
Dave Halter
ddef626e66
Disable Python 3.7 on travis again for now
2018-12-16 19:17:46 +01:00
Dave Halter
50399935c9
Revert "Get rid of the fancy magic of preinstalling Python versions"
...
This reverts commit b561d1fc17 .
2018-12-16 19:15:53 +01:00
Dave Halter
57587f71ab
Make it possible that tests work also on Windows
2018-12-16 19:09:08 +01:00
Dave Halter
b561d1fc17
Get rid of the fancy magic of preinstalling Python versions
2018-12-16 18:58:04 +01:00
Dave Halter
ed90a69e2c
Clone appveyor submodules recursively
2018-12-16 18:57:26 +01:00
Dave Halter
3703c43d62
Testing the nightly should use a more modern Python version
2018-12-16 18:27:47 +01:00
Dave Halter
30c2e64d9e
py__name__ does not need to be defined
2018-12-16 18:24:10 +01:00
Dave Halter
af12789762
Try to fix the appveyor config
2018-12-16 18:20:00 +01:00
Dave Halter
9bf2b9f6e4
Add Python 3.7 to appveyor
2018-12-16 18:18:00 +01:00
Dave Halter
50edd82268
Add 3.7 to to travis config
2018-12-16 18:16:50 +01:00
Dave Halter
babf074448
Sometimes os_path_join is really too slow :(
2018-12-16 17:58:44 +01:00
Dave Halter
9d3043ee39
Cloning typeshed should be possible without git write access
2018-12-16 17:40:41 +01:00
Dave Halter
33b73d7fbc
Typing does not need to be installed for Jedi to work, vendored typeshed is enough
2018-12-16 17:26:56 +01:00
Dave Halter
af51c9cc33
Fix Python 3 with Python 2 environment issues
2018-12-16 17:13:02 +01:00
Dave Halter
f55da1e1d6
Fix isues with Python 2.7 running a 3.6 env
2018-12-16 15:53:42 +01:00
Dave Halter
ba0d71bef1
Simplify tox.ini
2018-12-16 15:53:21 +01:00
Dave Halter
add33f5f80
Fix grammar cache problems, because multiple grammars were potentially loaded
2018-12-16 13:14:05 +01:00
Dave Halter
79189f243a
Upgrade typeshed version
2018-12-16 00:13:54 +01:00
Dave Halter
81b42c8633
Fix a test for Python 2
2018-12-15 22:27:45 +01:00
Dave Halter
541a8d3a3e
Fix some doctests that were slightly changed because of stubs
2018-12-15 22:20:05 +01:00
Dave Halter
3cbba71e7e
Merge branch 'master' into typeshed
2018-12-15 22:19:02 +01:00
Dave Halter
9617d4527d
setup.py was not executable in Python3.7
2018-12-15 22:18:42 +01:00
Dave Halter
dc77c12e83
Fix pytest issues with this branch
2018-12-15 20:48:58 +01:00
Dave Halter
3ec78ba6c9
Merge branch 'master' into typeshed
2018-12-15 20:38:03 +01:00
Dave Halter
86ae11eb43
Add a new release 0.13.2
2018-12-15 20:09:36 +01:00
Dave Halter
078595f8d7
Merge pull request #1262 from hoefling/pytest-marks
...
Use `pytest.param` when marking single parameters
2018-12-15 19:14:56 +01:00
Dave Halter
a21eaf9dba
Merge remote-tracking branch 'origin/master' into typeshed
2018-12-15 19:05:10 +01:00
Bet4
76417cc3c1
Fix environment cache regression ( #1238 )
...
The only remaining issue with this PR is that it does compare with executable instead of _start_executable (they don't need to be the same).
2018-12-15 18:37:28 +01:00
Dave Halter
249564d6ea
Merge remote-tracking branch 'origin/master' into typeshed
2018-12-15 18:20:51 +01:00
Dave Halter
90a28c7b1e
Don't make complicated subprocess calls for version info comparisons
2018-12-15 17:10:40 +01:00
Dave Halter
46da1df5ae
Add an assert that makes it impossible to nest classes of the same type
2018-12-14 09:37:30 +01:00
Dave Halter
fda6409600
Cache _apply_decorators
2018-12-14 09:36:13 +01:00
Dave Halter
d1be92ac80
Cache used names definition finding per evaluator
2018-12-14 09:20:42 +01:00
Dave Halter
b6cb1fb72d
Rewrite the typeshed algorithm of matching actual and stub classes
2018-12-13 09:32:57 +01:00
Dave Halter
26b49f8d01
Make the profile_output script usable for Python 2 as well
2018-12-11 00:11:49 +01:00
Dave Halter
c87398a8c2
Remove unused code
2018-12-10 21:34:47 +01:00
Dave Halter
3940fd8eff
Restructure eval_annotation so that it's more understandable
2018-12-09 20:48:18 +01:00
Dave Halter
aa4846bff6
If the stub module is not a package but the actual module is, it should not fail the import
2018-12-09 13:39:40 +01:00
Dave Halter
3ec194093d
Fix _sre issues
2018-12-09 12:54:39 +01:00
Dave Halter
f7442032b2
Fix version differences for re.sub
2018-12-09 12:50:01 +01:00
Dave Halter
2c5e2609f3
Overloaded functions now return values even if nothing matches
2018-12-09 12:43:55 +01:00
Dave Halter
ae1f5fa511
Fix namedtuples and reactivate tests for Python 2
2018-12-09 12:41:58 +01:00
Dave Halter
0c37256050
Change some tests in Python2
2018-12-08 23:55:08 +01:00
oleg.hoefling
70800a6dc2
bumped pytest dependency to 3.1.0
2018-12-07 18:22:29 +01:00
oleg.hoefling
4711b85b50
used pytest.param to comply with pytest>=4
2018-12-07 17:49:39 +01:00
Dave Halter
decb5046ea
Some Python 2.7 fixes
2018-12-07 08:58:17 +01:00
Dave Halter
b2824a3547
Remove a test, because it's different in Python 2/3 and covered by typeshed
2018-12-06 19:07:06 +01:00
Dave Halter
74c965b55c
Fix a return type for py__iter__()
2018-12-06 18:54:51 +01:00
Dave Halter
83ba02d0fb
Fix remaining issues for Python 3.4
2018-12-06 18:19:30 +01:00
Dave Halter
63bd762f91
Fix a colorama debug highlighting issue
2018-12-06 01:12:48 +01:00
Dave Halter
cc9641f8c1
Fixed an issue about compiled bound methods
2018-12-06 01:03:17 +01:00
Dave Halter
c446bcf885
Fix Python 3.5 issues
2018-12-06 00:59:56 +01:00
Dave Halter
d9e711ab11
Fix remaining Python 3.7 issues to get the tests to pass
2018-12-06 00:35:09 +01:00
Dave Halter
3260867918
Move the stdlib namedtuple template of 3.6 to Jedi.
2018-12-06 00:34:52 +01:00
Dave Halter
d90011c002
Cleanup a few issues with the latest module refactoring
2018-12-05 22:55:56 +01:00
Dave Halter
2406c8374f
StubModuleContext is now a wrapped context
2018-12-05 21:33:23 +01:00
Dave Halter
3d4f241129
Cache Script._get_module
2018-12-05 18:18:26 +01:00
Dave Halter
9766abf1c5
Fix a small caching issue
2018-12-05 18:17:33 +01:00
Dave Halter
feefde400e
Fix mro for typing classes
2018-12-05 00:16:06 +01:00
Dave Halter
15ae767a79
Fix mro detail
2018-12-05 00:07:21 +01:00
Dave Halter
b293e8e9e1
Reintroduce CompiledStubName, because we actually need it for positions
2018-12-04 19:25:01 +01:00
Dave Halter
bb0bf41cab
Use ClassMixin the right way in typing
2018-12-04 00:36:53 +01:00
Dave Halter
b2c0597a7d
Fix names for typing classes
2018-12-03 00:56:19 +01:00
Dave Halter
3c3ad7b240
Add a generator cache for py__mro__
2018-12-03 00:51:45 +01:00
Dave Halter
a7c21eff4b
Move py__mro__ to ClassMixin
2018-12-01 15:24:21 +01:00
Dave Halter
6b86ad9083
Move py__mro__ calls to direct calls, because it's defined on ClassMixin
2018-12-01 15:17:22 +01:00
Dave Halter
2b268435c4
Make some profile output better
2018-12-01 13:35:29 +01:00
Dave Halter
07d48df314
Make it possible to have higher precision with pstats displayed
2018-12-01 11:45:09 +01:00
Dave Halter
a07b062752
Merge StubName and CompiledNameWithStub
2018-11-30 23:36:30 +01:00
Dave Halter
dd1e53b498
Small refactoring
2018-11-28 22:48:33 +01:00
Dave Halter
2eb5e9b42d
Improve the profiling script
2018-11-28 22:48:13 +01:00
Dave Halter
5e6e4356fc
Start using gather_annotation_classes
2018-11-27 01:17:12 +01:00
Dave Halter
5bb88ca703
Make it possible to gather annotation classes for Union and Optional
2018-11-27 01:14:15 +01:00
micbou
368bf7e58a
Improve docstring formatting
2018-11-26 00:26:34 +01:00
Dave Halter
eb27c64c71
Make os.path import issues clearer
2018-11-25 19:25:21 +01:00
Dave Halter
644e292fa7
Get rid of is_super_class and do some different things in analysis
2018-11-24 14:09:14 +01:00
Daniel Hahler
28ecbd6b6a
Add qa env
...
Ignores tests with flake8 completely for now.
2018-11-23 22:12:08 +01:00
Dave Halter
021d1bc568
py__iter__ now takes a contextualized_node argument and raises the analysis errors itself
2018-11-23 18:22:38 +01:00
Dave Halter
12a0357f6b
Remove class_context from BoundMethod, it's not really needed anymore
2018-11-23 00:11:39 +01:00
Dave Halter
55982d699b
Use AnnotatedSubClass for Async classes like everywhere else as stubs
2018-11-23 00:03:32 +01:00
Dave Halter
1948f23fb3
Fix some issues around stub methods
2018-11-21 23:47:40 +01:00
Dave Halter
cb3cd3022d
get_signatures should automatically use the stubs if possible
2018-11-19 09:58:35 +01:00
Dave Halter
d2c0b13a02
Fix some small small issues around the latest commits
2018-11-18 23:53:56 +01:00
Dave Halter
cf6cae728a
Some issues with inheritance
2018-11-18 22:29:52 +01:00
Dave Halter
8b039287c8
Try to use a CompiledStubClass to wrap functions inside classes
2018-11-18 17:43:46 +01:00
Dave Halter
75203c55f8
Make some things clearer around CompiledStubs
2018-11-16 09:49:46 +01:00
Dave Halter
aeeb4880b1
Use the right context (stub) to check if we should use a CompiledStubClass or not
2018-11-14 22:59:49 +01:00
Dave Halter
d5d7679120
Fix a few of the issues with compiled classes and typeshed and docs
2018-11-14 19:19:56 +01:00
Dave Halter
986c69abea
Simplify some more call signature things
2018-11-11 22:44:32 +01:00
Dave Halter
a73c7092bb
Change signature a little bit
2018-11-11 22:36:05 +01:00
Dave Halter
3ecae30b5c
Delete old get_param_names code in API.
2018-11-11 19:45:00 +01:00
Dave Halter
6dc53c3887
Add at least partial support for signatures for builtins
2018-11-11 19:32:29 +01:00
Dave Halter
4fbede7445
Rework some call signature issues
2018-11-11 17:01:12 +01:00
Dave Halter
c29cde6784
Refactor the call signatures to avoid getting multiple call signatures for some overloaded objects
2018-11-07 23:58:25 +01:00
Dave Halter
f610af36c6
Don't use get_function_slot_names in classes anymore
2018-11-07 09:49:59 +01:00
Dave Halter
d8090cfa0a
Start implementing get_signatures
2018-11-07 01:20:39 +01:00
Dave Halter
b847bb1c72
Some minor test changes to get typeshed almost fully working
2018-11-06 09:00:07 +01:00
Dave Halter
4491175db4
Fix an issue with namedtuples when using strings as params
2018-11-06 08:59:30 +01:00
Dave Halter
d0fa228282
Change a test temporarily
2018-11-05 23:56:51 +01:00
Dave Halter
faacfb9578
One test needs to change a bit
2018-11-05 00:28:51 +01:00
Dave Halter
26329de5a5
Underscored objects in stubs are not public and should never be listed
2018-11-03 14:36:46 +01:00
Dave Halter
1eb8658922
Fix issues with itemgetter
2018-11-03 13:57:15 +01:00
Dave Halter
8fa3f093a1
Prefer stub contexts in bound methods
2018-11-02 16:32:38 +01:00
Dave Halter
fbc327b960
Refactor py__get__ support pretty heavily
2018-11-01 19:09:07 +01:00
Dave Halter
52aa5b6764
The builtins/typing module are not causing recursions. They are using annotations to give results.
2018-10-31 09:58:20 +01:00
Dave Halter
4a5cb389b7
Revert "Remove a function that is no longer needed"
...
This reverts commit 3581ce7059 .
2018-10-30 23:35:02 +01:00
Dave Halter
f2d67f4a5d
Make version_info understandable so it can be used in for typeshed
2018-10-30 23:31:57 +01:00
Dave Halter
3581ce7059
Remove a function that is no longer needed
2018-10-30 22:01:09 +01:00
Dave Halter
0a67b387c6
Fix most issues with dynamic arrays
2018-10-29 21:05:12 +01:00
Dave Halter
a352fc8595
Fix an issue with recursion for arrays
2018-10-26 00:26:23 +02:00
Dave Halter
a93dff2673
Fix star_expr unpacking issues. For now star_expr is not supported
2018-10-26 00:17:28 +02:00
Dave Halter
7856d27724
Clarify something about contexts
2018-10-24 00:45:06 +02:00
Dave Halter
da3ffd8bd0
Typo
2018-10-24 00:41:17 +02:00
Dave Halter
742179ee38
Add __class__, because of how it's represented as a property
2018-10-24 00:39:11 +02:00
Dave Halter
d5d9e51f66
Move py__call__to FunctionMixin
2018-10-24 00:33:07 +02:00
Dave Halter
19096f83db
Hide a warning in some cases
2018-10-24 00:11:07 +02:00
Dave Halter
2f3fb54ebb
Add another test for __itemsize__
2018-10-23 23:33:43 +02:00
Dave Halter
e12f9d5a1c
Fix a small oversight about type
2018-10-23 23:31:55 +02:00
Dave Halter
a45d86c2a4
The sqlite3 test was not correct and depends if there is a RowFactory present
2018-10-23 09:46:09 +02:00
Dave Halter
be58b627b2
Upgrade typeshed
2018-10-21 00:35:28 +02:00
Dave Halter
b008a525cb
Fix some more things to get async working
2018-10-21 00:35:07 +02:00
Dave Halter
228440c03f
Better wrapping of BoundMethod
2018-10-18 19:18:20 +02:00
immerrr
3f5ac0cf56
test_param_docstring: use all_scopes=True to ensure param is extracted
2018-10-18 14:47:20 +03:00
immerrr
1e8674b51c
get_module_names: fix "all_scopes=False" handling
...
Previously, names defined within the scope of first-level classes or functions
were returned.
2018-10-18 14:47:20 +03:00
immerrr
a8401f6923
Add failing test for jedi.api.names(..., all_scopes=False)
2018-10-18 13:54:33 +03:00
Jelte Fennema
3bdb941daa
Add an exact_key_items method to DictComprehension fixes #1233
2018-10-14 17:08:44 +02:00
Dave Halter
dddd302980
Fix issues with listing type vars
2018-10-10 02:05:23 +02:00
Dave Halter
5d44e1991f
Create better class filters
2018-10-10 01:45:10 +02:00
Dave Halter
55f0966a9a
StubClassContext is now also a ContextWrapper
2018-10-09 22:53:33 +02:00
Dave Halter
7daa26ce81
Move some functions in the base context to make ContextWrapper more usable
2018-10-09 10:00:17 +02:00
Dave Halter
8dca2b81e4
Start using ContextWrapper for annotated classes
2018-10-09 09:58:19 +02:00
Dave Halter
b14b3d1012
Better debugging
2018-10-06 16:42:02 +02:00
Dave Halter
43c04a71a8
The generics of a class of anonymous instances should never be inferred
2018-10-05 19:06:41 +02:00
Dave Halter
9313fb9021
Avoid an issue with dict comprehensions
2018-10-05 19:03:32 +02:00
Dave Halter
380f0ac404
Fix itemgetter for tuples
2018-10-05 10:51:52 +02:00
Dave Halter
1b8c87215d
Fix an _sqlite3 issue temporarily
2018-10-05 10:51:39 +02:00
Dave Halter
65340e6e24
Some more work on the filter merging
2018-10-05 01:57:34 +02:00
Dave Halter
f96a14e7f4
Start rewriting the StubFilter
2018-10-03 23:01:56 +02:00
Dave Halter
ad83f5419a
Merge branch 'master' into typeshed
2018-10-02 19:07:59 +02:00
Dave Halter
bd1010bbd2
Create a new 0.13.1 release
2018-10-02 19:07:35 +02:00
Dave Halter
23b3327b1d
Fixed completions of global vars and tensorflow slowness, fixes #1228 , #1116
2018-10-02 15:28:51 +02:00
Dave Halter
075577d50c
The changelog date was wrong
2018-10-02 15:25:31 +02:00
Dave Halter
ba5abf4700
Change some tests slightly
2018-09-30 00:35:45 +02:00
Dave Halter
78f0cc9e8a
Better indentation when running run.py
2018-09-29 01:19:36 +02:00
Dave Halter
d6bdb206c8
Remove the old typing module support in favor of the new one
2018-09-29 01:09:09 +02:00
Dave Halter
6539031d5a
Remove CompiledStubClassContext, it's not used currently
2018-09-29 00:59:13 +02:00
Dave Halter
f35c233289
Fix some small issues with resulting types
2018-09-28 18:22:57 +02:00
Dave Halter
fbd72179a1
Define generics from a different function
2018-09-28 18:16:24 +02:00
Dave Halter
af5d9d804e
A better way to define generics
2018-09-28 09:25:12 +02:00
Dave Halter
8e8271cf54
Refactor dict/set/list/tuple literal generic inferring
2018-09-27 00:01:35 +02:00
Dave Halter
b5b0214c3c
Fix forward reference resolving
2018-09-26 09:18:04 +02:00
Dave Halter
4bb7a595e8
Fix some issues with signature matching
2018-09-25 23:05:23 +02:00
Dave Halter
7d3eba1d8d
py__bool__ should be called on CompiledObject in CompiledValue
2018-09-25 08:58:01 +02:00
Dave Halter
f3b2d49880
Fix annotation variables
2018-09-25 00:33:44 +02:00
Dave Halter
bdff4e21a8
Fix classmethod issues
2018-09-25 00:19:55 +02:00
Dave Halter
f1b45bed96
Fix some property issues
2018-09-24 22:22:50 +02:00
Dave Halter
fe41c29b29
Implement iter, it's probably necessary
2018-09-24 21:10:54 +02:00
Dave Halter
a06ca5d035
Fix generator return issues
2018-09-24 20:59:43 +02:00
Dave Halter
75a02a13d9
Use ContextSet closer to they way how Python's set works
2018-09-24 20:30:57 +02:00
Dave Halter
8fad33b125
Fix some async issues
2018-09-24 09:45:10 +02:00
Dave Halter
bbc6e830e2
Make it possible to use ContextSet with an iterable parameter
2018-09-24 09:43:35 +02:00
Dave Halter
ef9d0421fa
Merge remote-tracking branch 'origin/master' into typeshed
2018-09-24 00:16:13 +02:00
Dave Halter
cc493866cd
Try to introduce is_instance and is_function
2018-09-24 00:15:16 +02:00
Dave Halter
2ec4d1e426
The BUILTINS special object is no longer used
2018-09-23 23:24:24 +02:00
Dave Halter
de311b2f2d
Replace the Generator class for now
2018-09-23 23:22:33 +02:00
Dave Halter
c2b78b175c
Use async generator/async functions from typeshed
2018-09-23 22:57:08 +02:00
Dave Halter
ff6516d1d7
Replace AsyncGenerator
2018-09-23 15:41:23 +02:00
Dave Halter
f435f23570
Small changes so some type var inferring works better
...
However this change is a bit controversial, because it involves some strange class matching that we might need to revisit
2018-09-23 00:41:32 +02:00
Dave Halter
994e7d1910
Fix an issue with type vars
2018-09-22 21:00:42 +02:00
Dave Halter
389d4e3d9c
Fix inferring dict.values()
2018-09-21 01:09:13 +02:00
Dave Halter
43ffcb0802
Also return the issues when retruning the executed params
2018-09-21 00:20:24 +02:00
Dave Halter
5fda4a2f8b
Start putting the signature matching onto the ExecutedParam class
2018-09-20 21:14:07 +02:00
Dave Halter
9807a7f038
Infer dict.get() in a fancy way
2018-09-19 01:50:35 +02:00
Dave Halter
57fa5f5bd9
Fix some signature matching for methods
2018-09-18 23:48:26 +02:00
Dave Halter
1b11162132
Quite a few changes to prepare arrays
2018-09-18 00:17:51 +02:00
Dave Halter
75ab83da63
Make it possible to have a string_name attribute on instance params
2018-09-17 17:44:23 +02:00
Dave Halter
cc3b08fd1b
More fixes, because of CompiledObject modifications
2018-09-17 02:40:34 +02:00
Dave Halter
eb9a852443
Remove fakes, RIP
2018-09-17 02:25:01 +02:00
Dave Halter
93d50e0f0c
Get more things working
2018-09-17 02:16:16 +02:00
Dave Halter
62df944c47
Fix a few issues with the newly defined CompiledValue
2018-09-17 02:10:27 +02:00
Dave Halter
d07d1a78d3
Use CompiledValue for simple values
2018-09-17 01:05:36 +02:00
Dave Halter
1107967f76
Fix some small issues
2018-09-16 14:31:55 +02:00
Dave Halter
5d9f29743c
Get iter() working and a lot of other typeshed reverse engineering of type vars
2018-09-16 02:19:29 +02:00
Dave Halter
6807e3b6d5
Use py__name__ instead of var_name for type vars
2018-09-15 11:43:23 +02:00
Dave Halter
1244eb9998
Better debug statements
2018-09-13 22:47:12 +02:00
Dave Halter
9ece2844f4
Better is_same_class function
2018-09-13 22:41:30 +02:00
Dave Halter
a646d930c8
Use some solid caching for typing
2018-09-12 22:58:35 +02:00
Dave Halter
6f8385143f
Use a frozenset in context sets and make it comparable/hashable
2018-09-12 21:44:34 +02:00
Dave Halter
1a29552bff
open returns str and bytes now with typeshed
2018-09-10 00:56:50 +02:00
Dave Halter
190a531daa
Fix the reversed object
2018-09-10 00:30:24 +02:00
Nicholas Gates
a68e35c895
Comprehension parent
2018-09-09 22:49:06 +01:00
Dave Halter
9722860417
Don't use ValueError, it could be thrown somewhere else
2018-09-09 17:04:03 +02:00
Dave Halter
7fff203360
Fix the next builtin
2018-09-09 16:20:23 +02:00
Dave Halter
bd3bd2e53b
Fix type completions on classes
2018-09-09 15:51:42 +02:00
Dave Halter
6abd96a398
Try to introduce a few new classes to better deal with compiled objects
2018-09-08 17:48:00 +02:00
Dave Halter
eac8cfe63d
Fix mro
2018-09-08 17:04:07 +02:00
Dave Halter
928e80c9e9
Fix search_global for builtins
2018-09-08 16:58:18 +02:00
Dave Halter
4a69ab3bf8
Cleanup StubParserTreeFilter.values
2018-09-08 14:13:14 +02:00
Dave Halter
91a18ec63c
Try to re-implement reversed
2018-09-07 23:00:32 +02:00
Dave Halter
9e7879d43f
Move py__mro__ to a separate function
2018-09-07 00:46:54 +02:00
Dave Halter
99c08fd205
Flows should be respected even in stubs
2018-09-07 00:25:08 +02:00
Dave Halter
82af902cc8
Actually use the previously written builtins_next function
2018-09-06 19:24:48 +02:00
Dave Halter
d0c1df5f2a
TreeContextWrapper -> ContextWrapper
2018-09-06 19:13:59 +02:00
Dave Halter
a5e6f26267
get_filters should always have the default search_global=False
2018-09-06 01:06:09 +02:00
Dave Halter
4730c71b16
Evaluate constraints instead of Any
2018-09-06 00:59:42 +02:00
Dave Halter
9cbf20aa48
Start replacing the builtin module
2018-09-06 00:30:08 +02:00
Dave Halter
68bd61708e
pkg_resources doesn't come packaged with the CPython stdlib
2018-09-05 19:25:27 +02:00
Dave Halter
fa16c9e59d
Fix some name inferance with stubs
2018-09-05 10:29:37 +02:00
Dave Halter
39162de2a8
Some more minor adaptions
2018-09-05 01:49:19 +02:00
Dave Halter
4a3fc91c1e
Implement StubParserTreeFilter.values
2018-09-05 01:36:12 +02:00
Dave Halter
ab872b9a34
Fix some tests
2018-09-05 00:10:25 +02:00
Dave Halter
e086c433ff
Fix compiled docstrings for stubs
2018-09-04 10:08:09 +02:00
Dave Halter
5d24bc7625
Refactor the compiled name stub wrappers a bit
2018-09-04 09:44:29 +02:00
Dave Halter
74db580671
Get compiled name working a bit better with stubs
2018-09-04 01:51:02 +02:00
Dave Halter
6036ea60d1
Fix interpreter issues with modules
2018-09-04 01:02:00 +02:00
Dave Halter
f432a0b7c4
Fix namedtuple and property issues
2018-09-04 00:27:40 +02:00
Dave Halter
38176ae7e6
Implement itemgetter partially
2018-09-04 00:01:55 +02:00
Dave Halter
35ce54630e
Make it possible to use *args in argument clinic
2018-09-03 19:12:36 +02:00
Dave Halter
39f1dfc85e
WIP of namedtuple/itemgetter/property
2018-09-03 09:50:51 +02:00
Dave Halter
0edc63ca8b
Fix an issue in the tests that typeshed avoids
2018-09-03 01:41:55 +02:00
Dave Halter
3351b06603
Implement random.choice
2018-09-03 01:35:30 +02:00
Dave Halter
5302032b63
The sub typeshed definitions are wrong at the moment
2018-09-03 01:04:41 +02:00
Dave Halter
6bf21c4157
Better typevar class comparisons
2018-09-03 00:58:10 +02:00
Dave Halter
a28b179a45
Fix partial
2018-09-02 19:12:13 +02:00
Dave Halter
7d6141abb7
Fix some small things to make a lot more tests pass
2018-09-02 14:03:43 +02:00
Dave Halter
e3203ebaa5
Try to change the module cache
2018-09-02 13:06:36 +02:00
Dave Halter
ecda9cc746
Move py__getattribute__ to typeshed imports
2018-09-01 17:17:39 +02:00
Dave Halter
ab4e415aec
Actually make nested stubs usable
2018-09-01 12:36:05 +02:00
Dave Halter
369dca79ef
For now arrays just return tan integer if the index is something random
2018-09-01 12:35:30 +02:00
Dave Halter
8dc2aee4b4
Fix py__mro__ for typing classes
2018-08-31 09:50:04 +02:00
Dave Halter
78ac2c1f1f
Fix another stub test
2018-08-31 01:32:26 +02:00
Dave Halter
2dfe2de0fe
Fix some stub tests
2018-08-31 01:26:20 +02:00
Dave Halter
aef4aa6859
Fix the slice object
2018-08-31 01:09:21 +02:00
Dave Halter
2ec503d6eb
Change some TypeVar base classes
2018-08-30 10:15:43 +02:00
Dave Halter
f5f9fc1955
Refactor TypeVar a bit so it's more resistant
2018-08-30 09:58:18 +02:00
Dave Halter
10383de959
Remove todo about overload, it was already done
2018-08-30 01:57:44 +02:00
Dave Halter
c0c6ce2987
Fix ClassVars and add tests
2018-08-30 01:52:05 +02:00
Dave Halter
7fc311bb3e
Add tests for classes that have generics not defined
2018-08-30 01:46:48 +02:00
Dave Halter
5979b93a7a
Tests for Type[]
2018-08-30 01:38:14 +02:00
Dave Halter
ac6b7ff14e
Fix type var completions so that there's at least no error
2018-08-30 01:23:28 +02:00
Dave Halter
80ab4d8ff5
Add tests for typing.TYPE_CHECKING
2018-08-30 01:14:48 +02:00
Dave Halter
bf6974dabb
Fix an issue with a type var lookups
2018-08-30 01:10:51 +02:00
Dave Halter
28a55386b6
Add some more tests about mappings
2018-08-30 00:59:10 +02:00
Dave Halter
1fce0b45f4
Fix subscriptlist unpacking in Generics
2018-08-30 00:52:22 +02:00
Dave Halter
18e6a784e8
Clean up some type alias things
2018-08-29 23:26:39 +02:00
Dave Halter
511ba5231a
Get an own class for type aliases
2018-08-29 22:46:28 +02:00
Dave Halter
0edfe86d8b
Fix Tuple support
2018-08-29 10:18:58 +02:00
Dave Halter
762d56204f
Fix some filter issues
2018-08-29 09:46:10 +02:00
Dave Halter
a884b6c782
Fix forward references for some things
2018-08-29 01:12:19 +02:00
Dave Halter
1a5710f140
Do a bit better class matching, it's not good yet, but we'll get there.
2018-08-28 23:28:58 +02:00
Dave Halter
af9f019d37
Type aliases seem to be working, now.
2018-08-28 17:40:12 +02:00
Dave Halter
cbf6c617de
Get MutableSequence working
2018-08-28 01:31:12 +02:00
Dave Halter
921ab6e391
Fix two bugs that were raising exceptions
2018-08-27 23:37:20 +02:00
Dave Halter
e74d4fe9b7
Get a first typing test with Sequence[int] working
...
This means basically that annotations are working at least in some way and Generic classes as well.
2018-08-27 23:24:46 +02:00
Dave Halter
7c8051feab
Fix default parameters name resolution
2018-08-27 23:10:23 +02:00
Dave Halter
7b896ae5d0
Differentiate between functions and methods
...
This makes some analysis a lot easier when it comes to default arguments for example
2018-08-27 20:39:51 +02:00
Dave Halter
b3ffc092cd
Obviously cannot return from a generator with an empty list
2018-08-27 20:16:57 +02:00
Dave Halter
bd5af5f148
More preparations for annotated classes
2018-08-27 20:13:35 +02:00
Dave Halter
4a7bded98d
Fix the selection of overloaded functions. Now it's at least partially working
2018-08-26 23:04:54 +02:00
Dave Halter
5261cdf4a1
Now overloaded functions exist, but the matching doesn't work, yet
2018-08-26 19:39:55 +02:00
Dave Halter
05d07c23ab
abstractmethod should just pass params
2018-08-26 13:23:49 +02:00
Dave Halter
10bc446255
Get Any working ab it better
2018-08-26 13:16:25 +02:00
Dave Halter
ac7ce7c481
Start implementing overload function
2018-08-26 03:37:26 +02:00
Dave Halter
4daa73d487
Merge with master
2018-08-26 03:16:57 +02:00
Dave Halter
3cfbedcb69
Refactor some more typing related things
2018-08-25 23:10:04 +02:00
Dave Halter
18b6febe86
Instances should use py__getitem__ instead of py__simple_getitem__
2018-08-25 22:55:08 +02:00
Dave Halter
465264e07d
Start getting inheritance working with e.g. typing.Iterable
2018-08-25 22:01:36 +02:00
Dave Halter
3526def0a0
Make a lot of progress with typeshed/typing
2018-08-25 02:35:31 +02:00
Dave Halter
05cf6af546
Implement a lot more for typing
2018-08-24 01:13:54 +02:00
Dave Halter
9fe9bed1c9
Fix the first issues with the new typing module implementation
2018-08-21 01:28:55 +02:00
Dave Halter
6ddc242746
Ignore some errors that are happening when the Python process ends and its subprocesses are cleaned up
2018-08-21 01:28:13 +02:00
Dave Halter
5081b06016
Add a first try of implementing the typing module
2018-08-20 19:51:36 +02:00
Dave Halter
fe78fa9850
Move to using py__getitem__ and py__simple_getitem__
...
This change is necessary to handle more complex cases with py__getitem__
2018-08-13 18:42:09 +02:00
Dave Halter
11b2ac9923
Gettattr needs unicode
2018-08-13 09:53:26 +02:00
Dave Halter
73682b95f5
Move get_item to a separate function
2018-08-10 19:50:21 +02:00
Dave Halter
705f561bdb
Sometimes when terminating, the subprocess module is already gone and equals None.
2018-08-10 19:32:54 +02:00
Dave Halter
84b89f4689
Rename py__getitem__ to py__simple_getitem
2018-08-10 19:31:19 +02:00
Dave Halter
bc5ca4d8ae
Fix flask issues with unicode in Python2
2018-08-10 00:37:36 +02:00
Dave Halter
53ca7c19cd
Some changes in the PEP 0484 understanding (more future compatible)
2018-08-09 23:32:04 +02:00
Dave Halter
b3a07941bb
Fix issues with the current branch
2018-08-09 23:25:29 +02:00
Dave Halter
62842c8ac1
For now don't use the TypeshedPlugin until we fix all other issues with Jedi
2018-08-09 18:48:08 +02:00
Dave Halter
d30af70351
Write a test for variables
2018-08-09 18:22:25 +02:00
Dave Halter
52746faabf
Some better sys tests for compiled objects
2018-08-09 17:28:09 +02:00
Dave Halter
f7f32fe206
Better checking for sys
2018-08-09 17:16:53 +02:00
Dave Halter
aa8e2c7173
Get some sys completions working
2018-08-09 10:52:33 +02:00
Dave Halter
facbf61133
Working with CompiledObject in stubs is now possible
2018-08-08 18:57:05 +02:00
Dave Halter
1ade520ac0
Fix stub name resolution
2018-08-08 13:02:32 +02:00
Dave Halter
5466f930be
Rename some stub classes
2018-08-07 03:36:18 +02:00
Dave Halter
505c424cf4
Merge branch 'master' into typeshed
2018-08-07 02:48:41 +02:00
Dave Halter
62a941f233
Actually use the stub files
2018-08-06 23:14:58 +02:00
Dave Halter
97c9aca245
Merge branch 'master' into typeshed
2018-08-06 12:49:51 +02:00
Dave Halter
49eae5b6f8
Rename an execute function that is private
2018-08-05 01:32:13 +02:00
Dave Halter
7a48fdc5f6
Move execute_evaluated to a helper function
2018-08-05 01:28:03 +02:00
Dave Halter
faba29a42b
Trying to use prefer type annotations if they are available
2018-08-05 00:36:11 +02:00
Dave Halter
403cf02c65
Fix the last issue to pass stub tests
2018-08-04 23:50:11 +02:00
Dave Halter
59d43683dc
Merge branch 'master' into typeshed
2018-08-04 23:42:17 +02:00
Dave Halter
50b58a314e
Fix a test condition
2018-08-03 01:34:08 +02:00
Dave Halter
a3b5247de9
Merge branch 'master' into typeshed
2018-08-03 00:26:09 +02:00
Dave Halter
5143c71589
Change the typeshed test for methods a bit (not yet working, though)
2018-08-02 01:11:12 +02:00
Dave Halter
31bf8e48bb
Fix some stub tests
2018-08-02 00:59:12 +02:00
Dave Halter
61de28f741
Get a first typeshed example fully working as intended
2018-08-02 00:15:54 +02:00
Dave Halter
c8caa8f4ac
Use a class stub class
2018-08-01 10:47:46 +02:00
Dave Halter
c196075cb8
Actually use the stub function
2018-08-01 01:42:09 +02:00
Dave Halter
dfbd1f8772
Mix stub name with non-stub names in a better way
2018-07-31 23:25:13 +02:00
Dave Halter
b5670fdc5f
Some progress in working with typeshed
2018-07-31 11:33:38 +02:00
Dave Halter
cdb96bff47
Avoid recursion issues for the typing module
2018-07-29 00:10:54 +02:00
Dave Halter
35361f4edc
Add debug warnings when a user runs into a recursion error
2018-07-29 00:03:43 +02:00
Dave Halter
9bba91628a
Annotations can contain forward references even if they are not a string anymore
...
Since Python 3.7 this behavior can be imported with from future import __annotations
2018-07-28 16:35:24 +02:00
Dave Halter
b073b05aa0
Fix a bug in the typeshed implementation
2018-07-28 14:50:02 +02:00
Dave Halter
e6f28b06b5
A bit better typeshed support
2018-07-28 14:39:55 +02:00
Dave Halter
4e75a35468
Fix stub searching for nested modules
2018-07-27 10:14:37 +02:00
Dave Halter
e827559340
Get some first stubs working
2018-07-25 23:48:53 +02:00
Dave Halter
6bcac44050
Add another stub file test
2018-07-25 11:44:48 +02:00
Dave Halter
ee43fd7579
Start testing the typeshed directory search
2018-07-25 11:37:03 +02:00
Dave Halter
b809768934
Start implementing some typeshed details
2018-07-25 11:00:51 +02:00
Dave Halter
1739ae44f0
Refactor some of the import logic so it's possible to load typeshed modules
2018-07-24 01:19:09 +02:00
Dave Halter
f72f3f3797
Better flake8 configuration
2018-07-24 00:50:31 +02:00
Dave Halter
18f26a0c04
Change a module is None check to raise an Exception
2018-07-23 23:57:27 +02:00
Dave Halter
873558a392
Move the os.path hack
2018-07-23 23:04:14 +02:00
Dave Halter
c88afb71c9
Import names are now always strings
2018-07-23 22:40:24 +02:00
Dave Halter
27ab4ba339
Add the flask plugin and move the import hacks there
2018-07-23 04:04:21 +02:00
Dave Halter
8a9202135b
Move import logic around a bit
2018-07-23 03:54:10 +02:00
Dave Halter
7711167052
Start enabling the Typeshed plugin, even though it doesn't do anything, yet.
2018-07-23 02:40:18 +02:00
Dave Halter
e7635b40d5
Remove some unused code
2018-07-22 18:02:53 +02:00
Dave Halter
f5cbb5de49
Some refactoring in the stdlib plugin
2018-07-22 03:49:36 +02:00
Dave Halter
2cd1ae73ed
Move stdlib content to the stdlib plugin
2018-07-22 03:45:02 +02:00
Dave Halter
061489ec9a
Move the stdlib executions into a plugin
2018-07-22 03:38:12 +02:00
Dave Halter
df55f62ad8
Add a plugin infrastructure
2018-07-21 15:03:05 +02:00
Dave Halter
7d2b7bb3c1
Add typeshed as a submodule
2018-07-21 09:50:25 +02:00
Daniel Hahler
c4e2892100
Improve __repr__ for BaseDefinition and AbstractNameDefinition
2018-07-15 23:22:10 +02:00
Daniel Hahler
61bc15b1aa
docs: fix some incorrect reference and improve wording
2018-07-01 21:49:18 +02:00
Daniel Hahler
5bad06d4b6
docs: enable searchbox
2018-07-01 21:49:18 +02:00
Daniel Hahler
b9f8daf848
tox.ini: upgrade pytest (<3.7)
2018-06-30 23:03:36 +02:00
Daniel Hahler
a34ee5bb92
Revisit pytest config
...
- add testpaths setting
- tox: remove testpaths from posargs default
- s/py.test/pytest/
2018-06-30 23:02:39 +02:00