This website requires JavaScript.
6f76bb945a
GH actions, checkout recursive submodules
Dave Halter
2020-12-26 01:14:17 +01:00
239a3730a6
Try to add Github Actions
Dave Halter
2020-12-26 01:03:03 +01:00
8740ff2691
Ignore the mypy cache for searching folders
Dave Halter
2020-12-25 17:35:28 +01:00
4b5b2e791b
Prepare release of 0.18.0
v0.18.0
Dave Halter
2020-12-25 11:06:15 +01:00
b89f9445c2
Merge pull request #1684 from davidhalter/relative-import
Dave Halter
2020-12-22 23:18:46 +01:00
ce6ddb91de
Merge pull request #1711 from davidhalter/deprecations
Dave Halter
2020-12-21 22:49:09 +01:00
fe60b5ca13
Fix flake8 issues in sith.py
Dave Halter
2020-12-12 12:45:19 +01:00
fa2d03a4fb
Mention removal of deprecations in CHANGELOG
Dave Halter
2020-12-12 12:31:44 +01:00
1b16ca0e2e
Add sith.py to the files to be ignored by pytest
Dave Halter
2020-12-12 12:25:22 +01:00
f9cec89038
Merge branch 'master' into deprecations
Dave Halter
2020-12-12 12:17:25 +01:00
bc4f6ed9dd
Merge branch 'master' into relative-import
Dave Halter
2020-12-12 12:15:13 +01:00
fd435a7bbb
Check if string_names is None before returning string_names (#1708 )
Leo Ryu and Leo Ryu
2020-12-12 03:13:31 -08:00
ce0ed4b8ae
Improve a comment
Dave Halter
2020-12-10 16:57:09 +01:00
42a759a7ae
Merge pull request #1706 from ColdGrub1384/master
Dave Halter
2020-12-07 22:34:03 +01:00
6dcae857a7
Remove 'test_get_parent_dir_with_file'
Adrian Labbé
2020-12-07 14:50:04 -03:00
34792c0077
Merge pull request #1707 from Carreau/fix-1702
Dave Halter
2020-12-07 15:07:53 +01:00
6df463b1e3
Merge pull request #1704 from infokiller/expose-comp-prefix-len
Dave Halter
2020-12-07 14:44:01 +01:00
4740178bdf
Not all nodes have children, protect agaisnt it.
Matthias Bussonnier
2020-12-06 18:03:20 -08:00
06d6776422
Add tests for #1702 , for a rare numpydoc syntax.
Matthias Bussonnier
2020-12-06 18:07:19 -08:00
1095820006
add tests for get_completion_prefix_length
Yoni Weill
2020-12-06 21:09:03 +02:00
47e60107b2
Add tests for 'test_get_parent_dir_with_file' and 'test_is_potential_project'
Adrian Labbé
2020-12-06 15:26:20 -03:00
12a2d10595
Catch 'OSError' instead of just 'PermissionError'
Adrian Labbé
2020-12-06 15:25:46 -03:00
ccdf7eddf4
add Completion.get_completion_prefix_length
Yoni Weill
2020-12-05 21:11:32 +02:00
83d4ec9e84
Catch 'PermissionError' for unreadable directories
Adrian Labbé
2020-12-05 21:00:28 -03:00
69750b9bf0
Add Python 3.9 to the testsed environments
Dave Halter
2020-10-24 13:40:19 +02:00
a03a093e2c
change the create_stub_module stuff a bit
Dave Halter
2020-10-24 10:19:20 +02:00
6094e7b39a
Fix get_line_code for stubs
Dave Halter
2020-10-24 10:12:21 +02:00
98d0a55a02
Add a few more tests for annotations on self
Dave Halter
2020-10-23 23:32:28 +02:00
6eabde1519
Fix annotations on self attributes, fixes #1681
Dave Halter
2020-10-23 23:26:07 +02:00
a4f45993f8
Simplify some things, so something like #1678 does not happen again
Dave Halter
2020-10-23 21:38:39 +02:00
49e35497ae
Stop subclassing CompiledName, potentially fixes #1667
Dave Halter
2020-10-23 21:28:08 +02:00
bf310c780c
Fix a recursion on imports, fixes #1677
Dave Halter
2020-10-23 21:04:36 +02:00
e671a0cb6d
Fix an error with enums, fixes #1675
Dave Halter
2020-10-23 20:25:00 +02:00
a5a36a049c
Fix an infer issue on literals after brackets, fixes #1657
Dave Halter
2020-10-23 19:08:41 +02:00
43ff2833f3
Make a test more reliable
Dave Halter
2020-10-23 16:29:51 +02:00
5f2f4af851
Update test/test_inference/test_imports.py
Dave Halter and Peter Law
2020-10-21 22:32:33 +02:00
bf56103428
Update jedi/inference/imports.py
Dave Halter and Peter Law
2020-10-21 22:32:24 +02:00
78e87d0ab8
Relative imports should work even if they are not within the project
Dave Halter
2020-10-20 01:00:22 +02:00
04572422d4
Xonsh shell has jedi extension (#1674 )
anki-code
2020-09-29 01:12:48 +03:00
cb55b45d47
Catch an OSError on Windows
Dave Halter
2020-09-19 22:13:45 +02:00
e3fedb52f1
Remove an unused import
Dave Halter
2020-09-19 21:40:01 +02:00
c1f4e7d874
One interpreter test is different for 3.9+
Dave Halter
2020-09-19 21:27:55 +02:00
4082728c32
Revert "Add the Python 3.9 environment"
Dave Halter
2020-09-19 21:22:38 +02:00
66e2a0fce4
implict_reexport needs to be True for parso
Dave Halter
2020-09-19 21:15:03 +02:00
39fe9a1979
Add the Python 3.9 environment
Dave Halter
2020-09-19 20:58:03 +02:00
f18493b627
Fix an interpreter test
Dave Halter
2020-09-19 20:57:32 +02:00
fa2abb5ff6
Add mypy cache to gitignore
Dave Halter
2020-09-19 20:36:54 +02:00
5b81abd537
Mention different language servers in README
Dave Halter
2020-08-06 00:53:03 +02:00
01b2e8e6b8
Merge pull request #1669 from mvanderkamp/patch-1
Dave Halter
2020-09-19 20:31:50 +02:00
ff439039da
make contextualized_node an optional kwarg
Mvdk
2020-09-14 10:27:19 -06:00
216f976fd5
Add a .readthedocs.yml to make sure that it's properly pip installed before the documentation is built
Dave Halter
2020-08-06 00:12:50 +02:00
e617c9d344
Formatting
Dave Halter
2020-08-05 23:52:38 +02:00
58ef6cd36b
if_stmt test clauses should be resolved at the start of the if_stmt
Dave Halter
2020-08-05 23:49:15 +02:00
abf63d73d3
Basic implementation support for namedexpr, fixes #1647
Dave Halter
2020-08-05 10:12:47 +02:00
76c0c373da
Merge pull request #1642 from PeterJCLaw/mypy
Dave Halter
2020-08-05 01:09:49 +02:00
209e2713fd
Remove the requirements file and require latest parso
Dave Halter
2020-08-05 00:55:50 +02:00
f12ed2088a
Use pathlib for file ios, because the new parso is out
Dave Halter
2020-08-05 00:52:50 +02:00
94bf83c826
Revert Django changes in a9e2cd5a74
Dave Halter
2020-08-05 00:18:24 +02:00
cce3ecb1e4
Use the default handling of optionals
Peter Law
2020-08-04 21:49:42 +01:00
10aa21f970
Merge branch 'master' of github.com:davidhalter/jedi
Dave Halter
2020-08-04 18:29:26 +02:00
425287055b
Merge pull request #1646 from Carreau/warnings
Dave Halter
2020-08-04 14:47:57 +02:00
a9e2cd5a74
Reformat and move imports to top level.
Matthias Bussonnier
2020-08-03 08:24:24 -07:00
2f7d0ec42c
Project attributes are now read accessible
Dave Halter
2020-08-01 18:26:26 +02:00
20be4f02c8
Turn print into warning to simplify silencing them.
Matthias Bussonnier
2020-07-27 11:28:05 -07:00
6364dd1511
Add explicit Optional annotation
Peter Law
2020-07-26 14:43:41 +01:00
19b8eaea59
Link mypy issue
Peter Law
2020-07-26 13:26:14 +01:00
b892c07841
Merge branch 'master' into mypy
Peter Law
2020-07-26 12:25:19 +01:00
cefc363f64
Configure mypy and flake8 for our re-export files
Peter Law
2020-07-26 12:20:08 +01:00
45c90efb5c
Remove a couple of unused imports
Peter Law
2020-07-26 12:17:54 +01:00
0571e12617
These attributes aren't optional
Peter Law
2020-07-26 12:11:34 +01:00
86e0e16625
Drop redundant rtype comment
Peter Law
2020-07-26 12:10:59 +01:00
b3edda30c4
Explain why we 'type: ignore' these properties
Peter Law
2020-07-26 12:09:04 +01:00
9d1587a41d
Don't need to inherit from object anymore
Dave Halter
2020-07-26 00:11:57 +02:00
e593396417
Merge pull request #1641 from PeterJCLaw/pydoc-data-python3.6-embedable
Dave Halter
2020-07-25 01:05:38 +02:00
a9cb9fbb1f
Give a bit more detail here
Peter Law
2020-07-24 20:36:22 +01:00
3f74981d5e
Also typecheck sith
Peter Law
2020-07-24 20:24:53 +01:00
38f853cf86
Add ignores for stdlib imports only recently added
Peter Law
2020-07-24 20:03:34 +01:00
4b7e837f0f
Configure the package root as implicit exports
Peter Law
2020-07-24 19:51:12 +01:00
a2d9fbcd42
Ignore this runtime-only import
Peter Law
2020-07-24 19:50:59 +01:00
6315709fea
Inherit from base class to placate mypy
Peter Law
2020-07-24 19:28:49 +01:00
48e5aa777b
Annotate potentially missing import
Peter Law
2020-07-24 16:13:03 +01:00
69be26b16e
Change subclass to function wrapper
Peter Law
2020-07-24 16:02:36 +01:00
5e509814f7
Ignore mypy not coping with decorated properties
Peter Law
2020-07-24 15:50:24 +01:00
07fbcd2262
Make this explicitly expect a Path
Peter Law
2020-07-24 15:49:08 +01:00
1c87ae378d
This is a Path now
Peter Law
2020-07-24 15:45:44 +01:00
b1f95b4bf9
Annotate these attributes
Peter Law
2020-07-24 15:08:44 +01:00
7d9205d4ae
This is actually optional
Peter Law
2020-07-24 15:04:37 +01:00
9b3cd15c5f
Fix type clash
Peter Law
2020-07-24 15:01:40 +01:00
1418aada91
Annotate top level items mypy needs annotating
Peter Law
2020-07-21 23:46:48 +01:00
f98a9f7999
Annotate the completions cache
Peter Law
2020-07-22 00:08:50 +01:00
35c2d660cb
Fix most import related mypy errors
Peter Law
2020-07-21 23:30:26 +01:00
c09e21ae4b
Configure mypy
Peter Law
2020-07-21 22:19:24 +01:00
480c352d33
Python 3.6 embeddable doesn't have pydoc_data
Peter Law
2020-07-24 16:07:45 +01:00
8f167be980
Merge branch 'master' of github.com:davidhalter/jedi
Dave Halter
2020-07-23 01:33:06 +02:00
e86afc1705
_cropped_file_size should be an int, fixes #1639
Dave Halter
2020-07-23 01:32:37 +02:00
7423c65eb5
Merge pull request #1638 from PeterJCLaw/update-flake8
Dave Halter
2020-07-22 09:28:08 +02:00
b651c6541a
Configure travis' flake8 call more explicitly
Peter Law
2020-07-21 23:15:20 +01:00
403564315c
Reflow test to ensure trailing space is preserved
Peter Law
2020-07-21 22:44:42 +01:00
5e6138d16f
Update to flake8 3.8.x
Peter Law
2020-07-21 21:34:58 +01:00
6ef18bea50
Make this noqa more specific
Peter Law
2020-07-21 21:34:37 +01:00