Commit Graph

69 Commits

Author SHA1 Message Date
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
Dave Halter d90011c002 Cleanup a few issues with the latest module refactoring 2018-12-05 22:55:56 +01:00
Dave Halter d0fa228282 Change a test temporarily 2018-11-05 23:56:51 +01:00
Nicholas Gates a68e35c895 Comprehension parent 2018-09-09 22:49:06 +01:00
Dave Halter 4a3fc91c1e Implement StubParserTreeFilter.values 2018-09-05 01:36:12 +02:00
Dave Halter a85f2d1049 Use the correct class for params when used in names. Fixes #1006 2018-03-07 09:59:31 +01:00
Dave Halter 3ae0560f1c Fix an issue where a default value was wrongly used 2018-01-31 00:11:30 +01:00
Dave Halter fc458a3c2a inspect.signature throws weird errors sometimes, just make it a bit simpler
Fixes #1031
2018-01-26 01:30:10 +01:00
Dave Halter d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Hugo 3e8cd9f128 Use set literals 2018-01-07 10:40:36 +02:00