Commit Graph

  • 98b592cb68 Fix getitem in compiled Dave Halter 2019-11-29 16:14:17 +01:00
  • c38e4fce70 Make sure py__get__ is defined on all values Dave Halter 2019-11-29 14:57:32 +01:00
  • 6e5e706288 Fix file name completions when file name is too long Dave Halter 2019-11-29 14:11:31 +01:00
  • 0e92be66db Fix an issue around completions in comments before strings Dave Halter 2019-11-29 13:44:12 +01:00
  • 03b4177d3d Fix: no longer shows folders recursively to root Sam Roeca 2019-11-28 23:04:08 -05:00
  • 761f0828c7 Fix missing inference for typing.Type[typing.TypeVar] (#1448) Samuel Roeca 2019-11-27 16:10:58 -05:00
  • facd21afc6 Remove Python 3.9 dev build from travis, it's not needed Dave Halter 2019-11-27 20:50:29 +01:00
  • e1d840c89b Start to use Python 3.8 in the normal CI pipeline Dave Halter 2019-11-27 20:15:52 +01:00
  • 15c13c1386 Fix the pow test for Python 3.8 Dave Halter 2019-11-27 20:12:37 +01:00
  • 6d632a01eb Fix inference from type comment for function parameter with dot Jérome Perrin 2019-11-08 11:07:31 +01:00
  • 4b15c8459a Merge branch 'master' of https://github.com/davidhalter/jedi ANtlord 2019-10-28 08:52:56 +02:00
  • 00b220516d Fix annotation string generated from wrong object Endill 2019-10-26 09:40:11 +03:00
  • 364a527fd9 Added missing sorted to scandir #1409 Johannes Maria Frank 2019-10-22 16:49:35 +01:00
  • 2039ab9a3c Fixed pytest fixtures for test_api Johannes Maria Frank 2019-10-22 16:47:06 +01:00
  • d48816603e Sorted scandir results to have completions ordered Johannes Maria Frank 2019-10-22 16:34:47 +01:00
  • f61d041830 Switched back to fuzzy off as default Johannes Maria Frank 2019-10-22 16:06:46 +01:00
  • f7fae4dde7 Added file fuzzy match and refactored Johannes Maria Frank 2019-10-22 15:50:16 +01:00
  • 893b695a61 Merge branch 'master' of https://github.com/davidhalter/jedi ANtlord 2019-10-21 22:27:06 +03:00
  • 2653752f9c Corrected formatting Johannes Maria Frank 2019-10-21 15:44:03 +01:00
  • d73f32745d Fixed bug for python 2 Johannes Maria Frank 2019-10-10 15:02:00 +02:00
  • 1fa678e3fe Corrected an error in the math fuzzy completion test Johannes Maria Frank 2019-10-10 13:23:33 +02:00
  • a84087682d Adopted results for different python versions Johannes Maria Frank 2019-10-10 12:10:19 +02:00
  • 48ffc5473a Added test for math og Johannes Maria Frank 2019-10-09 10:37:46 +02:00
  • 0b56bf8f08 Added completions test with fuzzy=True Johannes Maria Frank 2019-10-04 17:18:01 +01:00
  • 85278242c3 Switched to fuzzy boolean Johannes Maria Frank 2019-10-02 00:28:31 +01:00
  • 6baa3ae8e1 Start working on uniting parts of code of file path/dict completion Dave Halter 2019-09-27 09:36:37 +02:00
  • 0bbc8d6e9a Added match_method parameter Johannes Maria Frank 2019-09-26 09:12:15 +01:00
  • 8f306953da Added experimental substring and fuzzysearch Johannes Maria Frank 2019-09-26 08:17:30 +01:00
  • 88ebb3e140 Get a few more tests passing about dict key strings Dave Halter 2019-09-23 21:04:52 +02:00
  • 954fd56fcc Get some more dict completions working Dave Halter 2019-09-23 09:21:43 +02:00
  • e8afb46cde Get the first dict completions passing Dave Halter 2019-09-22 11:13:56 +02:00
  • a6fcf779d4 Fix a small issue created in #1398 #1376 Dave Halter 2019-09-21 23:29:07 +02:00
  • 527ef6fcdd fix static analysis test skips with latest pytest Levente Polyak 2019-09-20 18:34:39 +02:00
  • a0f95fc89f Fixed rST in changelog Philipp A 2019-09-21 11:06:58 +02:00
  • 96d650cab3 test: test_completion: Dynamically resolve current directory name. Maxim Cournoyer 2019-09-13 21:57:35 +09:00
  • 659aaf6861 Naming corrections. ANtlord 2019-09-19 08:42:39 +03:00
  • d68545d8de Merge branch 'master' of https://github.com/davidhalter/jedi ANtlord 2019-09-18 09:28:30 +03:00
  • f5ae7148dd Basic django model fields are infered as builtin types. ANtlord 2019-09-18 09:27:39 +03:00
  • e86a2ec566 Small rename Dave Halter 2019-09-08 03:32:47 +02:00
  • e179b3e526 Add a test for dict key completions Dave Halter 2019-09-07 02:58:21 +02:00
  • 66022edf14 Skip Python 2 tests for some array issues Dave Halter 2019-09-06 00:04:44 +02:00
  • ae79919eb4 Skip some param resolving tests in Python 2/3.4 Dave Halter 2019-09-05 18:27:37 +02:00
  • fbe58306c3 Add a few tests for a previous assertion failure Dave Halter 2019-09-05 10:57:04 +02:00
  • 9c19f72af3 Make sure a compiled instance is is_compiled Dave Halter 2019-09-05 10:13:03 +02:00
  • a9f1d3d9bb Reenable a test Dave Halter 2019-09-05 10:09:33 +02:00
  • 1db3e9a65d Disable a test in Python2 Dave Halter 2019-09-05 10:03:50 +02:00
  • 599eded3d1 Remove a few unused imports Dave Halter 2019-09-05 00:54:13 +02:00
  • 4e68287bba Move eval_node to one place Dave Halter 2019-09-05 00:52:14 +02:00
  • 008e9860a8 Avoid creating the same object twice Dave Halter 2019-09-05 00:37:51 +02:00
  • 8cd5932fed Move inference_state.goto to the name and _follow_error_node_imports_if_possible away from inference_state Dave Halter 2019-09-05 00:34:13 +02:00
  • 67c007338a Make some dynamic array variables private Dave Halter 2019-09-05 00:18:01 +02:00
  • aea2ddcbd8 ContextualizedName -> TreeNameDefinition Dave Halter 2019-09-05 00:15:38 +02:00
  • 4d332c32c0 Use create_name instead of duplicated logic Dave Halter 2019-09-05 00:04:24 +02:00
  • 02046d5333 Replace obj with value Dave Halter 2019-09-04 11:12:30 +02:00
  • 2faa8ade8b Remove get_object, it's not needed anymore Dave Halter 2019-09-04 11:04:09 +02:00
  • f9292ca8fa Implement properties properly Dave Halter 2019-09-04 10:59:22 +02:00
  • 40b01bfd2c Make arguments private for instance Dave Halter 2019-09-04 09:34:22 +02:00
  • 46e9b9e7cf Refactor dynamic params a bit Dave Halter 2019-09-04 09:31:01 +02:00
  • 96848dd627 Revert "Refactor some dynamic function arguments things" Dave Halter 2019-09-04 09:28:31 +02:00
  • e7d9a59da2 Refactor some dynamic function arguments things Dave Halter 2019-09-04 09:27:06 +02:00
  • dd400f115a Move some annotation inferring code to proper functions Dave Halter 2019-09-04 01:29:41 +02:00
  • 34f131e9b3 Remove an unneeded list cast Dave Halter 2019-09-04 01:22:16 +02:00
  • 47d6ae3da1 SimpleParamName -> AnonymousParamName Dave Halter 2019-09-04 01:13:43 +02:00
  • 79f9d78c83 Make create_instance_context a lot more understandable (and shorter) Dave Halter 2019-09-04 01:06:25 +02:00
  • 06d2119f51 Make sure a self variable is only defined in a function not outside Dave Halter 2019-09-04 00:53:46 +02:00
  • b27f47683c get_first_non_keyword_argument_values is not really used anymore Dave Halter 2019-09-04 00:08:49 +02:00
  • 0be9ab0caf A simplification Dave Halter 2019-09-04 00:00:32 +02:00
  • c8564a68df Fix recursion issues about dynamic param lookups and defaults work again Dave Halter 2019-09-03 23:59:31 +02:00
  • 75262d294f Refactor search_param_names interface Dave Halter 2019-09-03 22:17:30 +02:00
  • ac4dd06d11 Use get_executed_param_names if get_executed_param_names_and_issues is not necessary Dave Halter 2019-09-03 22:11:00 +02:00
  • d4f3963cd0 Don't use get_executed_param_names_and_issues as an attribute on arguments Dave Halter 2019-09-03 22:07:34 +02:00
  • a3659e2750 Remvoe AnonymousArguments Dave Halter 2019-09-03 21:59:50 +02:00
  • 3a74d65404 Refactor AnonymousInstance/TreeInstance, so that the anonymous instance doesn't have to use arguments Dave Halter 2019-09-03 21:56:48 +02:00
  • acda3527cb Separate tree/compiled instances better Dave Halter 2019-09-03 21:33:59 +02:00
  • 03f6d0edf8 Get rid of create_init_executions Dave Halter 2019-09-03 17:50:03 +02:00
  • c79faa6b10 Implement super() properly Dave Halter 2019-09-03 14:53:40 +02:00
  • 4b10644100 Start using AnonymousMethodExecutionContext instead of the normal function execution context with arguments Dave Halter 2019-09-03 14:44:01 +02:00
  • 274f8dbb02 Prepare instance for AnonymousMethodExecutionContext Dave Halter 2019-09-03 14:19:56 +02:00
  • efa51a1d70 Use the function execution filters with proper inheritance Dave Halter 2019-09-03 13:55:09 +02:00
  • 0a420339e8 Deal with inheritance properly when dealing with function executions Dave Halter 2019-09-03 13:29:25 +02:00
  • fe5523268e Separate FunctionExecution and AnonymousFunctionExecution Dave Halter 2019-09-03 13:11:50 +02:00
  • b16c987a72 Fix static analysis for params Dave Halter 2019-09-03 12:17:48 +02:00
  • 35efdd84d2 Add get_param_names to the function execution, which is needed to do some filtering Dave Halter 2019-09-03 09:22:31 +02:00
  • 1495a0ec4c Move the normal anonymous arguments case over to names Dave Halter 2019-09-03 01:28:54 +02:00
  • 33586deef1 Prefer annotations in SimpleParamName Dave Halter 2019-09-03 01:03:10 +02:00
  • 7bdd71f9a7 Add some dynamic inference checks for annotations Dave Halter 2019-09-03 00:56:42 +02:00
  • a67861a320 Avoid using arguments.get_executed_param_names_and_issues Dave Halter 2019-09-03 00:47:10 +02:00
  • fe8a605d4a Remove get_executed_param_names_and_issues from FunctionExecution Dave Halter 2019-09-03 00:30:22 +02:00
  • 7ad7d22fb0 Use function/arguments intead of execution Dave Halter 2019-09-02 21:50:56 +02:00
  • bdb01c7546 Make FunctionExecutionContext.arguments private Dave Halter 2019-09-02 21:24:21 +02:00
  • 73003a995b _ArrayInstance -> _DynamicArrayAdditions Dave Halter 2019-09-02 19:49:21 +02:00
  • 06890203dd var_args -> arguments Dave Halter 2019-09-02 19:48:17 +02:00
  • e97bb1d2e5 Fix the final issues about parameter arguments Dave Halter 2019-09-02 19:27:07 +02:00
  • 4fd1149be2 Fix infering of dynamic params Dave Halter 2019-09-02 10:05:12 +02:00
  • 51475a5b39 Remove an unnecessary piece of code from goto Dave Halter 2019-09-02 09:52:58 +02:00
  • a0cadd9375 Use Context.create_name instead of weird playing with params everywhere Dave Halter 2019-09-02 09:38:54 +02:00
  • b4dc95553f Use SimpleParamName everywhere it's needed Dave Halter 2019-09-02 09:29:43 +02:00
  • edb17b8e7c Refactor params and what execution contexts need Dave Halter 2019-09-01 14:14:42 +02:00
  • 59f26ad6ab Fix a TODO Dave Halter 2019-08-30 01:18:13 +02:00
  • 286d2c9b1a Make the order of overloaded functions correct Dave Halter 2019-08-30 01:11:11 +02:00