This website requires JavaScript.
b4628abc60
Some sother small test improvements
Dave Halter
2020-02-13 09:34:33 +01:00
aef675c79b
Rewrite old refactoring tests a bit to reuse them
Dave Halter
2020-02-13 09:27:57 +01:00
41602124c7
Prepare remaining refactoring methods that should be implemented at some point
Dave Halter
2020-02-13 09:27:36 +01:00
5c246649e2
Test renames better and change some small things about the refactoring API
Dave Halter
2020-02-13 00:19:34 +01:00
6c9f187884
Refactor the rename tests a bit
Dave Halter
2020-02-13 00:19:00 +01:00
871575b06c
Make sure that get_changed_files returns a dict
Dave Halter
2020-02-12 09:59:39 +01:00
fd4ba3f47e
Make sure to that renames works for keyword params
Dave Halter
2020-02-12 01:19:34 +01:00
204b072388
Add tests for undefined variables
Dave Halter
2020-02-12 01:08:47 +01:00
e7ab318107
Make sure rename diffs have the right paths
Dave Halter
2020-02-12 01:00:13 +01:00
52d72157c0
Rename a module to make refactoring tests a bit faster
Dave Halter
2020-02-12 00:35:49 +01:00
ac47866c4c
TypedDict: fix non-inheritance tests, add inheritance
Sam Roeca
2020-02-11 18:32:15 -05:00
c47021150e
Add a rename test for combination of variables and modules
Dave Halter
2020-02-11 23:43:09 +01:00
a39b2e95c1
Add another refactoring test
Dave Halter
2020-02-11 19:14:10 +01:00
d42d3f45f0
Add venv to .gitignore
Jma353
2020-02-10 17:59:21 -08:00
b4494e588f
A prefixed path should not also be suffixed
Dave Halter
2020-02-11 18:34:41 +01:00
0697a39145
Make refactoring tests a bit clearer
Dave Halter
2020-02-11 10:08:36 +01:00
e43b0cec4a
Get renames working for module imports
Dave Halter
2020-02-11 01:34:57 +01:00
ab4f282b03
Move rename function to refactoring
Dave Halter
2020-02-11 00:18:49 +01:00
4bc9075d0b
Add another rename test for imports
Dave Halter
2020-02-10 21:17:22 +01:00
faddf412f9
Make some refactoring test variables private
Dave Halter
2020-02-10 20:06:27 +01:00
e22a44d79e
Remove a lot of nonsense from refactoring tests
Dave Halter
2020-02-10 20:04:48 +01:00
4cc03d2239
Add another rename test
Dave Halter
2020-02-10 19:51:35 +01:00
1e929b0aa0
Remove the old refactoring module
Dave Halter
2020-02-10 17:48:24 +01:00
13b393a5e3
Get the first rename test passing
Dave Halter
2020-02-10 17:42:23 +01:00
6166e7961e
Make sure that tests for refactoring are redirected
Dave Halter
2020-02-09 14:05:16 +01:00
370e539a7e
Remove additional prefix which seems incorrect
Peter Law
2020-02-08 21:37:23 +00:00
fd1f9f22e9
Update use of _source which no longer exists to _code
Peter Law
2020-02-08 21:37:01 +00:00
bcb7cc864c
Make sure to move up VSCode, because it's used a lot
Dave Halter
2020-02-08 20:09:46 +01:00
de2f753546
Revert "Make sure to mention that VSCode is using Jedi"
Dave Halter
2020-02-08 20:06:08 +01:00
2cf06bcf48
Make sure to mention that VSCode is using Jedi
Dave Halter
2020-02-08 20:04:47 +01:00
cf954bf006
Expand on TypedDict tests.
Sam Roeca
2020-02-07 14:40:39 -05:00
9d2083fa08
Remove argument to filter.values()
Sam Roeca
2020-02-07 13:38:52 -05:00
6a9745b42b
Get basic completions working with TypedDict
Sam Roeca
2020-01-28 14:07:05 -05:00
87161df2f0
Make sure that typeddict py__getitem__ works
Dave Halter
2020-02-07 16:45:03 +01:00
7ef07b576f
Merge branch 'master' into typeddict
Dave Halter
2020-02-07 04:03:27 +01:00
6e63799a7d
Fix a test that picked up the wrong paths
Dave Halter
2020-02-06 22:51:40 +01:00
841fe75326
Fix an issue with environment selection
Dave Halter
2020-02-06 22:41:11 +01:00
f6465c5202
Get rid of one more os.getcwd() call
Dave Halter
2020-02-06 01:51:10 +01:00
14ac0512a9
Get rid of cwd modifications in tests
Dave Halter
2020-02-06 01:47:34 +01:00
f2722952e7
Fix load_unsafe_extensions issue
Dave Halter
2020-02-05 10:01:21 +01:00
b7919bd3e6
Merge branch 'master' into project
Dave Halter
2020-02-04 23:56:47 +01:00
7a55484b79
Fix a test issue
Dave Halter
2020-02-04 23:56:01 +01:00
670d6e8639
Move is_side_effect to Definition and correct bugs
Dave Halter
2020-02-04 20:12:24 +01:00
6313934d94
Add a docstring for is_side_effect
Dave Halter
2020-02-04 19:39:13 +01:00
40fced2450
Actually use follow_builtin_imports and improve the goto docstring, fixes #1492
Dave Halter
2020-02-04 19:34:42 +01:00
692bf5cfb7
Properly identify side effects, fixes #1411
Dave Halter
2020-02-04 10:12:13 +01:00
66e28eb52e
Move test_api/test_defined_names.py -> test_api/test_names.py
Dave Halter
2020-02-04 10:03:55 +01:00
3388a9659b
Catch an error with illegal class instances, fixes #1491
Dave Halter
2020-02-03 22:27:22 +01:00
eb88c483fb
Catch an error with illegal class instances, fixes #1491
Dave Halter
2020-02-03 22:27:22 +01:00
2c62166ff6
Get parser errors working, fixes #1488
Dave Halter
2020-02-03 22:06:12 +01:00
3101e43aa6
Merge branch 'master' into project
Dave Halter
2020-02-03 09:26:43 +01:00
a49c757b8a
Make Ellipsis without list in Callable work, fixes #1475
Dave Halter
2020-02-03 09:25:41 +01:00
3ad3dc08b8
Run get_type_hint tests only for 3.6+
Dave Halter
2020-02-03 01:03:12 +01:00
eee919174d
Stubs should not become stubs again in the conversion function, fixes #1475
Dave Halter
2020-02-03 00:58:54 +01:00
e802f5aabd
Make sure to print errors in __main__ completions
Dave Halter
2020-02-02 23:28:55 +01:00
e3c4b5b77e
Make sure param hints are working for functions
Dave Halter
2020-02-02 18:36:56 +01:00
4c7179bc87
Generate type hints, fixes #987
Dave Halter
2020-02-02 16:55:10 +01:00
f4b1fc479d
Bump version to 0.16.1
Dave Halter
2020-01-31 13:38:27 +01:00
e1425de8a4
Make sure to be able to deal with all kinds of loaders, fixes #1487
Dave Halter
2020-01-31 13:26:56 +01:00
8ff2ea4b38
Make sure to not load unsafe modules anymore if they are not on the sys path, fixes #760
Dave Halter
2020-01-31 13:09:28 +01:00
e7a77e438d
Remove python_version again, it might not be needed
Dave Halter
2020-01-31 02:15:24 +01:00
a05628443e
Make sure serialization works for projects
Dave Halter
2020-01-31 02:14:34 +01:00
d09882f970
Remove django from the project API
Dave Halter
2020-01-31 01:50:52 +01:00
e5ec2a3adf
Introduce two new Project params: python_path, python_version
Dave Halter
2020-01-31 01:46:55 +01:00
d02af44331
Make it possible to use get_default_project directly from Jedi
Dave Halter
2020-01-31 00:21:46 +01:00
251ff447bc
Add added_sys_path to Project, fixes #1334
Dave Halter
2020-01-31 00:08:24 +01:00
4a1d9a9116
Use project instead of sys_path parameter in tests
Dave Halter
2020-01-30 21:02:47 +01:00
ceccbf3678
Make the Project API public, fixes #778
Dave Halter
2020-01-30 19:18:41 +01:00
e930f47861
Make generators return more correct values with while loops, fixes #683
Dave Halter
2020-01-29 10:13:46 +01:00
d630ed55f3
Avoid aborting search for yields when they are still reachable, see #683
Dave Halter
2020-01-28 09:35:58 +01:00
bec87f7ff8
Jedi understand now when you use del, fixes #313
Dave Halter
2020-01-26 20:07:25 +01:00
045b8a35a2
Remove dead code
Dave Halter
2020-01-26 19:39:15 +01:00
8eb980db73
Create the basics to work with TypedDict in the future
Dave Halter
2020-01-26 19:25:23 +01:00
18f84d3af7
Remove Python 3.3 from environment tests
v0.16.0
Dave Halter
2020-01-26 01:30:31 +01:00
2ccd015b5a
Make sure to skip some tests for Python 3.5
Dave Halter
2020-01-26 01:18:28 +01:00
1a62674254
Small Changelog updates
Dave Halter
2020-01-26 00:58:04 +01:00
7645762a25
Fix a small signature issue
Dave Halter
2020-01-26 00:42:00 +01:00
2e036bffb5
Create a private helper to test completions
Dave Halter
2020-01-26 00:28:48 +01:00
feefd47ddd
Fix an issue with names
Dave Halter
2020-01-25 18:48:52 +01:00
f42ab8872d
compiled_object -> compiled_value
Dave Halter
2020-01-25 18:25:19 +01:00
7c3dbef9c5
Remove dead code
Dave Halter
2020-01-25 18:16:30 +01:00
8cccdde28d
CompiledObject -> CompiledValue
Dave Halter
2020-01-25 18:13:50 +01:00
5cd4a52bcd
CompiledValue -> ExactValue
Dave Halter
2020-01-25 18:09:44 +01:00
517fa27dc6
Revisit caching of mixed
Dave Halter
2020-01-25 17:58:12 +01:00
329329c195
Make MixedName a Namewrapper instead of inheritance
Dave Halter
2020-01-25 17:50:43 +01:00
8bde54a072
Remove underscore_memoization caching method
Dave Halter
2020-01-25 17:29:52 +01:00
235b887b75
Refactor MixedName quite a bit
Dave Halter
2020-01-25 16:56:01 +01:00
da2a55c73f
Fix issue with mixed objects, fixes #1480
Dave Halter
2020-01-25 15:02:55 +01:00
0435e0e85c
Remove some dead code
Dave Halter
2020-01-25 13:25:23 +01:00
9c0efd5a67
Prepare a test for #1479
Dave Halter
2020-01-25 01:07:20 +01:00
066b8b7165
Avoid a print in tests
Dave Halter
2020-01-24 22:11:48 +01:00
7683c05de3
Fix value/context mixup in mixed, fixes #1479
Dave Halter
2020-01-24 22:08:16 +01:00
eaa49aa26b
Clarify that for Python 2 we will not fix bugs anymore
Dave Halter
2020-01-24 14:09:43 +01:00
3f6a718c34
Skip a test in Python 2
Dave Halter
2020-01-24 14:08:18 +01:00
6cfcba0d97
Use is_compiled instead of isinstance checks
Dave Halter
2020-01-24 13:12:48 +01:00
4d3f314baa
Create CompiledModule to have a better differentiation between compiled modules and compiles values
Dave Halter
2020-01-24 13:01:54 +01:00
e3e6727a2d
Make sure that the builtin docstring works again for infer calls
Dave Halter
2020-01-24 12:49:39 +01:00
b985a380bc
Fix a bug with version_info, fixes #1477
Dave Halter
2020-01-24 11:04:50 +01:00
11b61596e0
Make sure that del_stmt as a name can be handled, see #313
Dave Halter
2020-01-23 23:58:45 +01:00
290e2151df
Remove use_filesystem_cache and additional_dynamic_modules, it hasn't been implemented for a long time
Dave Halter
2020-01-23 23:17:26 +01:00