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
|
480a464179
|
Implement all remaining Path issues and use it instead of strings
|
2020-07-12 01:14: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
|
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 |
|
Sam Roeca
|
d848047012
|
Add unit tests for definition_[start,end]_position
|
2020-05-17 11:48:28 -04:00 |
|
muffinmad
|
7ccee7d8fc
|
Add test _PseudoTreeNameClass.type == 'class'
|
2020-05-12 23:28:46 +03:00 |
|
Dave Halter
|
d6d9286242
|
Get rid of deprecations in tests
|
2020-03-21 02:15:57 +01:00 |
|
Dave Halter
|
0731206b9d
|
BaseDefinition -> BaseName
|
2020-03-17 09:25:30 +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
|
3101e43aa6
|
Merge branch 'master' into project
|
2020-02-03 09:26:43 +01:00 |
|
Dave Halter
|
3ad3dc08b8
|
Run get_type_hint tests only for 3.6+
|
2020-02-03 01:03:19 +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
|
4a1d9a9116
|
Use project instead of sys_path parameter in tests
|
2020-01-30 21:02:47 +01:00 |
|
Dave Halter
|
dbdd556a2b
|
Add follow_imports to Definition.goto, fixes #1474
|
2020-01-22 18:29:02 +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
|
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
|
cc1664c69a
|
Avoid using params in tests and use get_signatures().params
|
2020-01-05 02:09:22 +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
|
5fc308f1f8
|
call signature -> signature
|
2019-12-20 19:41:57 +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
|
dbb61357c3
|
Make sure that jedi.names is not references anymore
|
2019-12-20 18:04:47 +01:00 |
|
Dave Halter
|
38460ce9d7
|
Use complete instead of completions in test_api/
|
2019-12-20 16:16:01 +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
|
8e33fd1931
|
Get the context of a class name right, fixes #1396
|
2019-12-09 09:56:03 +01: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
|
84f6d95fde
|
Fix a python 2 dynamic issue
|
2019-08-21 09:16:48 +02:00 |
|
Dave Halter
|
9986d8c9aa
|
Context -> Value
|
2019-08-15 01:26:11 +02:00 |
|
Dave Halter
|
ad4f546aca
|
context -> value
|
2019-08-15 01:23:06 +02:00 |
|
Dave Halter
|
3b4f292464
|
Move the evaluate package to inference
|
2019-08-15 00:14:26 +02:00 |
|
Dave Halter
|
8e1417e3ce
|
Add Definition.execute, fixes #1076
|
2019-08-03 02:01:30 +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
|
4479b866ff
|
CompiledContext should not have a file
|
2019-06-20 20:30:23 +02:00 |
|
Dave Halter
|
8ec6f54f86
|
Fix an issue about boolean params resolving
|
2019-06-02 18:31:52 +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
|
9af8638589
|
Small test fix
|
2019-05-05 20:30:11 +02: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 |
|