Commit Graph

  • 24db05841b Add a execute_annotation option to infer_annotation Dave Halter 2019-08-02 10:23:52 +02:00
  • 375d1d57fb Test infer_annotation Dave Halter 2019-08-02 09:57:40 +02:00
  • c2e50e1d0d Make it possible for users to infer annotations/defaults Dave Halter 2019-08-01 18:27:37 +02:00
  • 7988c1d11b A first iteration of adding signatures to the API, fixes #1139 Dave Halter 2019-08-01 17:48:10 +02:00
  • 8ab2a5320e Fix a caching issue Dave Halter 2019-08-01 02:10:46 +02:00
  • b5a62825ce Forgot the right resolve_stars parameters in one place Dave Halter 2019-07-31 23:05:24 +02:00
  • ec70815318 Cache getting resolved param names Dave Halter 2019-07-31 22:54:29 +02:00
  • a739c17a6f Turn around resolve_stars, it shouldn't by default be resolved Dave Halter 2019-07-31 18:51:21 +02:00
  • ab5f4b6774 Remove a class that is not needed anymore Dave Halter 2019-07-31 18:44:53 +02:00
  • a5a544cb09 Revert "Use __str__ instead of to_string" Dave Halter 2019-07-31 18:39:17 +02:00
  • 7d2374ed81 Fix the last remaining issues with function signature Dave Halter 2019-07-31 18:29:41 +02:00
  • 97b642a3e1 overloaded_functions should be private Dave Halter 2019-07-31 00:11:08 +02:00
  • 1151700114 Use __str__ instead of to_string Dave Halter 2019-07-31 00:00:37 +02:00
  • 75f654b944 Better repr for CallSignature Dave Halter 2019-07-30 23:55:58 +02:00
  • bb852c3e85 Fix some minor signature issues Dave Halter 2019-07-30 23:48:54 +02:00
  • 1fbb69b35a Remove the unused function signature_matches Dave Halter 2019-07-30 10:01:50 +02:00
  • 0352c3250a Fix signatures for __init__ calls when used with supers, fixes #1163 Dave Halter 2019-07-30 01:34:18 +02:00
  • 268f828963 Fix some issues for args resolving in method calls Dave Halter 2019-07-30 01:28:51 +02:00
  • 21508a8c79 Remove a bit of code that i sprobably unused Dave Halter 2019-07-30 00:38:42 +02:00
  • f9de26f72c Move get_signatures from Function to FunctionMixin Dave Halter 2019-07-29 20:17:03 +02:00
  • 22580f771c Merge the signature changes Dave Halter 2019-07-29 00:28:57 +02:00
  • 9b338f69a6 Add a comment about wraps Dave Halter 2019-07-29 00:28:12 +02:00
  • fa0424cfd6 Fix signatures for wraps, see #1058 Dave Halter 2019-07-29 00:12:58 +02:00
  • f6808a96e0 Skip pre python 3.5 Dave Halter 2019-07-28 20:40:32 +02:00
  • 02bd7e5bc7 Some small args adaptions Dave Halter 2019-07-28 20:22:28 +02:00
  • e8e3e8c111 Deal better with non-functions Dave Halter 2019-07-28 19:52:48 +02:00
  • c8588191f9 Some more small fixes Dave Halter 2019-07-28 18:09:08 +02:00
  • 97e7f608df Don't return multiple used names for signatures Dave Halter 2019-07-28 17:51:40 +02:00
  • fae2c8c060 Move args resolving to a different file Dave Halter 2019-07-28 17:41:28 +02:00
  • b4f2d82867 A new approach of getting arguments Dave Halter 2019-07-28 17:31:17 +02:00
  • 6a480780f8 Some more tests Dave Halter 2019-07-26 14:51:30 +02:00
  • 41dc5382fa Make nesting of *args/**kwargs possible to understand. Dave Halter 2019-07-26 14:42:20 +02:00
  • ba160e72ab Some more signature progress Dave Halter 2019-07-26 14:29:33 +02:00
  • 0703a69369 Some progress in signature understanding Dave Halter 2019-07-26 12:11:45 +02:00
  • c490d37c2d Start getting signature inferring working Dave Halter 2019-07-26 02:54:50 +02:00
  • 84219236a7 Remove an import Dave Halter 2019-07-25 14:15:52 +02:00
  • 57fd995727 Small refactoring Dave Halter 2019-07-25 14:15:26 +02:00
  • a803d687e2 Skipped Python 2 Interpreter tests the wrong way Dave Halter 2019-07-24 13:44:26 +02:00
  • c7927fb141 Remove a paragraph in docs that was arguing that stubs and generics (and other things) were not properly supported, fixes #1012 Dave Halter 2019-07-24 13:41:33 +02:00
  • 05d9602032 Fix partial signatures for MixedObject Dave Halter 2019-07-24 12:58:20 +02:00
  • e76120da06 Fix partial signatures, fixes #1371 Dave Halter 2019-07-24 02:28:12 +02:00
  • 25bbecc269 Make sure with a test that the staticmethod signature is also correct Dave Halter 2019-07-24 01:15:48 +02:00
  • 08bb9cfae7 Fix classmethod signature, fixes #498 Dave Halter 2019-07-24 01:06:49 +02:00
  • 703b747a31 Deal with annotation on *args and **kwargs correctly, fixes #980 Dave Halter 2019-07-23 23:56:30 +02:00
  • ff149b74e0 Use LazyContextWrapper more Dave Halter 2019-07-23 13:59:08 +02:00
  • 3d08eb92d5 Very small refactoring Dave Halter 2019-07-23 13:08:57 +02:00
  • 02d16ac55c Fix for failing assertion on native modules Issue #1354 (#1370) Johannes-Maria Frank 2019-07-23 12:02:08 +01:00
  • 18eb7622ba Skip numpydoc tests for Python 2 Dave Halter 2019-07-22 00:49:35 +02:00
  • 13dd173664 Remove code that didn't mean anything Dave Halter 2019-07-22 00:39:19 +02:00
  • 73c078ec7a Fix docstrings for wrapped functions, fixes #906 Dave Halter 2019-07-21 12:18:51 +02:00
  • cdf50e2a69 Fix an isue about dict ordering in Python before 3.6. Dave Halter 2019-07-19 12:54:22 +02:00
  • 2b0b29f921 Make it clearer when get_param is used. Dave Halter 2019-07-19 11:57:55 +02:00
  • 0dc60fb535 A small dataclass refactoring Dave Halter 2019-07-19 11:44:11 +02:00
  • 5722a3458e Evaluate annotations for dataclasses when infer is called on param Dave Halter 2019-07-19 11:42:08 +02:00
  • 93c52f615a Get inheritance of dataclass right Dave Halter 2019-07-19 11:35:13 +02:00
  • 050d686a27 A first working iteration of dataclass signatures, fixes #1213 Dave Halter 2019-07-19 02:01:36 +02:00
  • 7156ddf607 Remove an unused function Dave Halter 2019-07-19 01:32:27 +02:00
  • 1cccc832b6 Dataclass progress Dave Halter 2019-07-19 01:27:37 +02:00
  • fd4eca5e03 Add enum changes to changelog Dave Halter 2019-07-18 12:19:21 +02:00
  • 1d9b9cff47 Fix a recursion error about getting metaclasses Dave Halter 2019-07-18 12:02:17 +02:00
  • f4fe113c0f One test about recursion issues only applied to Python 2 Dave Halter 2019-07-18 12:00:47 +02:00
  • c7fc715535 Use class filters in instances differently so metaclass plugins work, fixes #1090 Dave Halter 2019-07-18 11:20:54 +02:00
  • eeea88046e First step in working with metaclasses in plugins, see #1090. Dave Halter 2019-07-18 10:33:28 +02:00
  • dea887d27d Refactor the plugin registry Dave Halter 2019-07-16 12:48:54 +02:00
  • 8329e2e969 Remove classes from plugins and use decorators instead Dave Halter 2019-07-16 10:23:19 +02:00
  • 60415033b4 Prepare the v0.14.1 release v0.14.1 Dave Halter 2019-07-13 16:00:27 +02:00
  • a06d760f45 Use fixture names everywhere Dave Halter 2019-07-10 23:26:59 -07:00
  • b7687fcfb7 Cleanup a test file Dave Halter 2019-07-10 23:23:18 -07:00
  • 0ec86d5034 Use parametrize instead of TestCase Dave Halter 2019-07-10 23:22:10 -07:00
  • cef23f44cd Remove a TestCase class usage Dave Halter 2019-07-10 19:32:19 -07:00
  • e889a4923e Use pytest.mark.parametrize for something instad of a class Dave Halter 2019-07-10 19:04:12 -07:00
  • 114aba462c Use the names fixture even more Dave Halter 2019-07-10 19:00:24 -07:00
  • 26c7cec7b5 Use the names fixture more Dave Halter 2019-07-10 18:39:33 -07:00
  • 3e3a33ab79 A small rename Dave Halter 2019-07-10 18:38:24 -07:00
  • 7f386e0e68 Refactor names tests Dave Halter 2019-07-10 18:34:40 -07:00
  • 82d970d2b8 A small refactoring Dave Halter 2019-07-10 18:24:21 -07:00
  • 3ed9e836cc Make sure __wrapped__ works properly when using an Interpreter, fixes #1353 Dave Halter 2019-07-10 15:58:16 -07:00
  • f984e8d6ef Small refactoring Dave Halter 2019-07-10 15:38:41 -07:00
  • 670cf4d394 Make API param names appear without leading double underscores, fixes #1357 again Dave Halter 2019-07-10 12:10:12 -07:00
  • e85fba844c Fix some call signature tests Dave Halter 2019-07-09 00:46:53 -07:00
  • ee5557ddf6 Make expected index work in Python 3 Dave Halter 2019-07-09 00:37:33 -07:00
  • 42f72b219b Test both closing brackets and non-closing brackets for CallSignature.index Dave Halter 2019-07-09 00:16:53 -07:00
  • 374721b789 Fix a case with errors Dave Halter 2019-07-09 00:04:53 -07:00
  • 01cec186ae Move some code around Dave Halter 2019-07-08 22:52:04 -07:00
  • 3fb89f9f9b Fix some kwargs cases Dave Halter 2019-07-08 22:38:22 -07:00
  • a0b4e76c1a Fix some *args issues Dave Halter 2019-07-08 17:03:45 -07:00
  • 97bf83aa03 Deal better with some error nodes Dave Halter 2019-07-08 14:26:11 -07:00
  • ca7658cab7 Delete unused code Dave Halter 2019-07-08 13:29:46 -07:00
  • dd78f4cfbf Fix some error node handling for call signatures Dave Halter 2019-07-08 13:22:07 -07:00
  • 08019075c3 Fix CallSignature index for a looot of cases, fixes #1364,#1363 Dave Halter 2019-07-08 12:40:58 -07:00
  • 943617a94f Use recursion rather than other stuff Dave Halter 2019-07-05 23:51:24 -07:00
  • d579c0ad57 Even more refactorings Dave Halter 2019-07-05 15:24:39 -07:00
  • 76c6104415 small name refactoring Dave Halter 2019-07-05 14:35:48 -07:00
  • ef9d803ce3 Refactor some call details Dave Halter 2019-07-05 14:30:59 -07:00
  • a26cb42d07 Disable a test for Python 2 Dave Halter 2019-07-04 09:31:22 -07:00
  • 6b9b2836ba Fix pow() signature, fixes #1357 Dave Halter 2019-07-04 00:29:57 -07:00
  • abdb8de89d Merge branch 'master' of github.com:davidhalter/jedi Dave Halter 2019-07-03 23:49:18 -07:00
  • ac492ef598 Fix signature to_string Dave Halter 2019-07-03 23:44:58 -07:00
  • 947bfe7b78 Fix an issue with keyword params, fixes #1356 Dave Halter 2019-07-03 22:35:46 -07:00
  • be6c90d135 Simplify some test code for param defaults, see #1356 Dave Halter 2019-07-03 19:43:32 -07:00