Commit Graph

  • be7a1346ec Fix #1573 again; a tree_node can be None Dave Halter 2020-05-10 13:29:58 +02:00
  • 6dbc5e783e Fix argument clinic unpacking, remove dynamic bullshit Dave Halter 2020-05-10 13:27:20 +02:00
  • 1115cbd94d This fixes two issues with the caching on Windows: Max Mäusezahl 2020-05-10 11:16:12 +02:00
  • bf4ec2282f Fix getattr completions on very weird cases, fixes #1573 Dave Halter 2020-05-10 11:37:58 +02:00
  • e6e43413ff Any -> AnyClass Dave Halter 2020-05-10 03:17:52 +02:00
  • e9a0c01af8 TypedDictBase -> TypedDictClass Dave Halter 2020-05-10 03:17:07 +02:00
  • d0270b5e59 DefineGenericBase -> DefineGenericBaseClass Dave Halter 2020-05-10 03:07:40 +02:00
  • b57654aed3 Rename some classes to make it clearer that they are classes Dave Halter 2020-05-10 03:04:52 +02:00
  • 78ad06612e Remove an unused import Dave Halter 2020-05-10 03:00:47 +02:00
  • 434866558a Instances should not need get_generics Dave Halter 2020-05-10 02:58:15 +02:00
  • 42963a0e03 By having get_annotated_class_object for Tuple/Callable, some details are not necessary anymore Dave Halter 2020-05-10 02:52:42 +02:00
  • c2d1da09cb Make sure that Tuple/Callable instances have the correct py__class__ Dave Halter 2020-05-10 01:05:55 +02:00
  • f362932ec5 Return a more correct py__class__ for typing base objects Dave Halter 2020-05-09 16:28:05 +02:00
  • 3b48c76e4a Make a function private Dave Halter 2020-05-09 00:49:37 +02:00
  • d56f607f35 Reinstate an if that was deleted by mistake Dave Halter 2020-05-09 00:13:18 +02:00
  • 39a2cd8aa2 Fix a potential issue with tuples Dave Halter 2020-05-08 18:07:15 +02:00
  • 14ca8e6499 Add a comment Dave Halter 2020-05-08 18:00:35 +02:00
  • 2a227dcc7a Remove is_class_value from infer_type_vars Dave Halter 2020-05-08 17:49:02 +02:00
  • 12090ce74b Fix tests Dave Halter 2020-05-08 15:18:23 +02:00
  • 25973554e2 Remove the common folder and move it to a common file Dave Halter 2020-05-08 13:23:56 +02:00
  • 138c22afe9 Remove common.value Dave Halter 2020-05-08 13:18:01 +02:00
  • d19535340c Move infer_type_vars to base_value Dave Halter 2020-05-08 13:13:26 +02:00
  • 5fcbed721d Merge pull request #1554 from PeterJCLaw/fix-nested-tuple-argument Dave Halter 2020-05-08 12:49:44 +02:00
  • 812776b9ce Add .venv to _IGNORE_FOLDERS Sam Roeca 2020-05-05 14:10:22 -04:00
  • d606ea6759 Correct a test Dave Halter 2020-04-27 09:59:25 +02:00
  • c314e1c36e Speed up signature fetching for MixedName, see discussion in #1422 Dave Halter 2020-04-27 01:53:42 +02:00
  • 8c7a883abd Test that the actual signature of a function is used in Interpreter Dave Halter 2020-04-27 01:47:06 +02:00
  • 55facaaf3d Switch back to using execute_annotation #1554 Peter Law 2020-04-26 14:30:18 +01:00
  • 17ca3a620f Merge branch 'master' into fix-nested-tuple-argument Peter Law 2020-04-26 13:56:14 +01:00
  • 9836a1b347 Very small refactoring Dave Halter 2020-04-26 12:47:40 +02:00
  • 8c3fd99009 Tell sith that goto_assignments is now goto Peter Law 2020-04-26 01:05:04 +01:00
  • 4d9cb083ac Merge pull request #1561 from PeterJCLaw/newtype-pyclass Dave Halter 2020-04-26 02:15:17 +02:00
  • 612fd23777 Support accessing the py__class__ of a NewType #1561 Peter Law 2020-04-26 00:55:27 +01:00
  • dca505c884 Merge pull request #1553 from PeterJCLaw/generic-tuple-return Dave Halter 2020-04-26 01:28:51 +02:00
  • 7fd5c8af8f Allow files for get_default_project, fixes #1552 Dave Halter 2020-04-26 00:33:04 +02:00
  • 97fb95ec0c Don't display unnecessary help, fixes #1557 Dave Halter 2020-04-26 00:21:01 +02:00
  • e6d8a955d2 Pin Django in a different way so tests can work everywhere Dave Halter 2020-04-25 23:25:51 +02:00
  • a3a147f028 Make sure that Django's values/values_list is tested (though not implemented Dave Halter 2020-04-25 22:49:10 +02:00
  • c761dded35 Properly implement inheritance for Django models Dave Halter 2020-04-25 21:59:13 +02:00
  • 92623232c3 Make sure Django User inference works Dave Halter 2020-04-25 21:52:47 +02:00
  • 9b58bf6199 Pin the Django test dependency Dave Halter 2020-04-25 20:19:13 +02:00
  • 9d5eb28523 Mention django stubs support in README Dave Halter 2020-04-25 18:05:37 +02:00
  • 857e0fc00e Include Django stubs license in Jedi package Dave Halter 2020-04-25 18:05:02 +02:00
  • bf8b58aeeb Some more django query tests Dave Halter 2020-04-25 16:25:27 +02:00
  • f6803bce2c Infer many to many fields Dave Halter 2020-04-25 16:17:47 +02:00
  • 6bff30fbbb Include Django stubs as a third party repo Dave Halter 2020-04-25 13:43:52 +02:00
  • 6d927d502e Make sure that infering the Django User model works Dave Halter 2020-04-25 00:38:15 +02:00
  • 2e1284f044 Fix a recursion error issue Dave Halter 2020-04-25 00:24:26 +02:00
  • 11eb4f8fde Remove unused imports Dave Halter 2020-04-23 23:52:51 +02:00
  • c19c13e2c6 Apply tuple-only filtering to apply more broadly Peter Law 2020-04-24 16:44:25 +01:00
  • 891383f8dc Use get_annotated_class_object over execute_annotation Peter Law 2020-04-24 16:32:00 +01:00
  • ce1ac38cde Implement get_annotated_class_object for Tuples Peter Law 2020-04-24 16:25:19 +01:00
  • df951733cd Rename variable to placate mypy Peter Law 2020-04-24 12:45:05 +01:00
  • 912fe68069 Fix typos in api.classes docstrings Josh Bax 2020-04-23 14:32:32 -07:00
  • be82d5ff36 Remove a redundant check from Name.desc_with_module Josh Bax 2020-04-23 14:05:11 -07:00
  • 784f9ff081 Actually fix #1556, forgot to add this in 94d374c9ce Dave Halter 2020-04-23 10:10:58 +02:00
  • 0f39135ae5 Start changelog for 0.17.1 Dave Halter 2020-04-22 23:14:40 +02:00
  • 94d374c9ce Fix a small issue with the help method, fixes #1556 Dave Halter 2020-04-22 17:32:40 +02:00
  • f3152a8c2b Django is not supported for Python 2 Dave Halter 2020-04-22 09:44:31 +02:00
  • f3eaa418bb Work with a NameWrapper, so Django goto works better Dave Halter 2020-04-22 09:32:31 +02:00
  • f9176578ea Fix another django modelfield issue Dave Halter 2020-04-22 00:54:43 +02:00
  • 17eeb73767 Some nitpicks Dave Halter 2020-04-22 00:41:59 +02:00
  • 7756792bba Fix another issue with foreign keys Dave Halter 2020-04-22 00:33:51 +02:00
  • ba4e3393d3 Fix ForeignKey issues with invalid values Dave Halter 2020-04-22 00:27:06 +02:00
  • 1a89fafce4 Some other small refactorings Dave Halter 2020-04-22 00:15:35 +02:00
  • df307b8eda Refactor a few things for django Dave Halter 2020-04-22 00:05:35 +02:00
  • d96887b102 Remove old third party django tests Dave Halter 2020-04-21 23:43:59 +02:00
  • 89ad9a500b Use debug instead of print for Django and fix indentation, see #1467 Dave Halter 2020-04-21 23:41:54 +02:00
  • 086728365c Make Django test optional Dave Halter 2020-04-21 23:36:00 +02:00
  • f9e36943d4 Merge branch 'master' of https://github.com/ANtlord/jedi Dave Halter 2020-04-21 23:22:40 +02:00
  • b5c1c6d414 Django plugin test of ManyToManyField is added and marked for future implementation. #1467 ANtlord 2020-04-21 10:56:22 +03:00
  • df76b2462e Review corrections. ANtlord 2020-04-20 10:31:03 +03:00
  • 343a10d491 Drop redundant blank line Peter Law 2020-04-19 14:42:57 +01:00
  • 72c52f5f15 Add type match guard Peter Law 2020-04-19 14:29:44 +01:00
  • cfa01d3ac5 Add handling of nested generic tuples Peter Law 2020-04-19 14:10:03 +01:00
  • f8e7447d35 Add handling of nested generic callables #1553 Peter Law 2020-04-19 13:12:54 +01:00
  • 2ac806e39f Add test which demonstrates incomplete generic Callable handling Peter Law 2020-04-19 12:50:24 +01:00
  • 7ebbf9da44 Make this test case obey typing rules in Python Peter Law 2020-04-18 22:56:46 +01:00
  • 1c4a2edbdb Fix construction of nested generic tuple return types Peter Law 2020-04-18 19:43:47 +01:00
  • 1d3082249f Debug information corrections. ANtlord 2020-04-18 18:51:12 +03:00
  • 09950233e7 Django is designated in test dependencies. ANtlord 2020-04-18 18:36:04 +03:00
  • d48575c8c5 Simple tests of Django plugin are added. ANtlord 2020-04-18 16:13:48 +03:00
  • f8a0cf76c8 Merge branch 'master' of github.com:davidhalter/jedi ANtlord 2020-04-18 14:25:24 +03:00
  • 851e0d59f0 Better developer tools Dave Halter 2020-04-18 12:19:14 +02:00
  • 10b2de2c3f Make the linter completely private Dave Halter 2020-04-18 11:23:25 +02:00
  • 3718d62e24 Make sure that calling Jedi with a random argument in CLI results in errors Dave Halter 2020-04-18 11:23:12 +02:00
  • a793dd7c91 Fix a small _get_annotated_class_object, fixes #1550 Dave Halter 2020-04-18 00:36:32 +02:00
  • 0850b86456 Also don't complete keywords if kwargs only are allowed, see #1541 Dave Halter 2020-04-17 23:51:40 +02:00
  • f07dee3564 Completion: Don't suggest variables when only kwargs are legal, fixes #1541 Dave Halter 2020-04-17 22:58:55 +02:00
  • f871f5e726 fix #1548 xu0o0 2020-04-17 17:33:44 +08:00
  • 803c3cb271 * Use an explicit environment for subprocess to ensure that existing environment variables are not inherited. This ensures more reliable results, see issue #1540. * Attempt to send SYSTEMROOT variable to Windows subprocess Ryan Clary 2020-04-15 15:27:33 -07:00
  • 7ff76bb7d0 Sort test_project::test_search results to fix failures Michał Górny 2020-04-15 07:54:01 +02:00
  • e7feeef64e Inc difference limit in TestSetupReadline::test_import for py3.8 Michał Górny 2020-04-15 09:50:36 +02:00
  • 8aaa8e0044 Project._python_path -> Project.environment_path v0.17.0 Dave Halter 2020-04-14 23:14:01 +02:00
  • cbfbe7c08d Set the release date in Changelog Dave Halter 2020-04-14 22:59:17 +02:00
  • 81926a785c Some README improvements Dave Halter 2020-04-14 00:06:32 +02:00
  • 9ccb596f93 Extract now properly validates line/column and those two params are required Dave Halter 2020-04-13 23:15:42 +02:00
  • 25db8de0da Some minor CHANGELOG changes Dave Halter 2020-04-13 22:40:06 +02:00
  • 24dffe4226 Upgrade parso version Dave Halter 2020-04-13 22:33:51 +02:00
  • c3fc129695 Fix a small issue Dave Halter 2020-04-12 00:54:31 +02:00