Dave Halter
|
692bf5cfb7
|
Properly identify side effects, fixes #1411
|
2020-02-04 10:12:13 +01:00 |
|
Dave Halter
|
4c7179bc87
|
Generate type hints, fixes #987
|
2020-02-02 16:55:10 +01:00 |
|
Dave Halter
|
dbdd556a2b
|
Add follow_imports to Definition.goto, fixes #1474
|
2020-01-22 18:29:02 +01: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
|
8cc836e816
|
find_signatures -> get_signatures, see #1476
|
2020-01-22 01:10:38 +01:00 |
|
Dave Halter
|
bf446f2729
|
Add a completion cache for numpy/tensorflow, fixes #1116
|
2020-01-05 18:13:24 +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
|
673ea0c5a5
|
Little refactoring
|
2020-01-03 10:38:00 +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
|
bac91652ea
|
Raise a deprecation warning on Definition.params
|
2020-01-02 16:11:58 +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
|
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
|
22c3beffd0
|
Fix some issues with Definition.parent()
|
2019-12-22 15:37:53 +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
|
5fc308f1f8
|
call signature -> signature
|
2019-12-20 19:41:57 +01:00 |
|
Dave Halter
|
adff6d34a4
|
goto_assignment -> goto everywhere where it was left
|
2019-12-20 19:15:41 +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
|
5bf6e7048b
|
A few renames for readability in the api/completion.py file
|
2019-12-20 17:40:04 +01:00 |
|
Dave Halter
|
2b5af19989
|
Fix signature issues
|
2019-12-20 16:14:01 +01:00 |
|
Dave Halter
|
f32b0aebeb
|
call_signatures -> find_signatures
|
2019-12-20 15:41: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
|
41a6591d88
|
Completions.complete returns None for fuzzy completions #1409
|
2019-12-15 19:56:56 +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
|
4572503c9f
|
Fix usages in context of the new parso parameter include_setitem=True
|
2019-08-28 22:56:16 +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
|
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
|
7573e2033a
|
Fix comprehension parent issues, fixes #1215
|
2019-08-23 14:34:16 +02:00 |
|
Dave Halter
|
85f8f2a764
|
Fix os path resolving issues
|
2019-08-21 00:22:34 +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
|
03920502c4
|
infer_state -> inference_state
|
2019-08-16 11:44:30 +02:00 |
|
Dave Halter
|
600272366f
|
parent_value -> parent_context
|
2019-08-15 09:36:46 +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
|
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
|
3b4f292464
|
Move the evaluate package to inference
|
2019-08-15 00:14:26 +02:00 |
|
Dave Halter
|
467839a9ea
|
execute_evaluated -> execute_with_values
|
2019-08-13 01:29:50 +02:00 |
|
Dave Halter
|
45dada9552
|
Fix interpeter project path
|
2019-08-05 00:43:37 +02:00 |
|
Dave Halter
|
8e1417e3ce
|
Add Definition.execute, fixes #1076
|
2019-08-03 02:01:30 +02:00 |
|
Dave Halter
|
16e0351897
|
List possible Definition.type in its docstring, fixes #1069.
|
2019-08-02 21:16:58 +02:00 |
|
Dave Halter
|
6a82f60901
|
Parameter.kind is not avaialble in Python 3.5
|
2019-08-02 13:49:01 +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
|
d58bbce24f
|
Add Signature.to_string() with proper tests, fixes #779, fixes #780
|
2019-08-02 12:17:13 +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 |
|