Commit Graph

8101 Commits

Author SHA1 Message Date
ANtlord 4b15c8459a Merge branch 'master' of https://github.com/davidhalter/jedi 2019-10-28 08:52:56 +02:00
Endill 00b220516d Fix annotation string generated from wrong object 2019-10-26 13:58:15 +02:00
Johannes Maria Frank 364a527fd9 Added missing sorted to scandir 2019-10-22 16:49:35 +01:00
Johannes Maria Frank 2039ab9a3c Fixed pytest fixtures for test_api 2019-10-22 16:47:06 +01:00
Johannes Maria Frank d48816603e Sorted scandir results to have completions ordered 2019-10-22 16:34:47 +01:00
Johannes Maria Frank f61d041830 Switched back to fuzzy off as default 2019-10-22 16:06:46 +01:00
Johannes Maria Frank f7fae4dde7 Added file fuzzy match and refactored 2019-10-22 15:50:16 +01:00
ANtlord 893b695a61 Merge branch 'master' of https://github.com/davidhalter/jedi 2019-10-21 22:27:06 +03:00
Johannes Maria Frank 2653752f9c Corrected formatting 2019-10-21 15:44:03 +01:00
Johannes Maria Frank d73f32745d Fixed bug for python 2 2019-10-10 15:02:00 +02:00
Johannes Maria Frank 1fa678e3fe Corrected an error in the math fuzzy completion test 2019-10-10 13:23:33 +02:00
Johannes Maria Frank a84087682d Adopted results for different python versions 2019-10-10 12:10:19 +02:00
Johannes Maria Frank 48ffc5473a Added test for math og 2019-10-09 10:37:46 +02:00
Johannes Maria Frank 0b56bf8f08 Added completions test with fuzzy=True 2019-10-04 17:18:01 +01:00
Johannes Maria Frank 85278242c3 Switched to fuzzy boolean 2019-10-02 00:28:31 +01:00
Dave Halter 6baa3ae8e1 Start working on uniting parts of code of file path/dict completion 2019-09-27 09:36:37 +02:00
Johannes Maria Frank 0bbc8d6e9a Added match_method parameter 2019-09-26 09:12:15 +01:00
Johannes Maria Frank 8f306953da Added experimental substring and fuzzysearch 2019-09-26 08:17:30 +01:00
Dave Halter 88ebb3e140 Get a few more tests passing about dict key strings 2019-09-23 21:05:01 +02:00
Dave Halter 954fd56fcc Get some more dict completions working 2019-09-23 09:21:43 +02:00
Dave Halter e8afb46cde Get the first dict completions passing 2019-09-23 09:18:26 +02:00
Dave Halter a6fcf779d4 Fix a small issue created in #1398 2019-09-21 23:29:07 +02:00
Levente Polyak 527ef6fcdd fix static analysis test skips with latest pytest
Latest pytest ensures pytest.skip is being called with a str parameter.
However, test_static_analysis passed over the skip parameter which
contains a tuple returned from skip_python_version leading to test
regression.
Unify the version skip reasons for both, static analysis and integration
tests by using a shared BaseTestCase parent to avoid code duplication.
Furthermore handle test_static_analysis skip_reason extraction
orthogonal to test_completion.
2019-09-21 21:42:05 +02:00
Philipp A a0f95fc89f Fixed rST in changelog 2019-09-21 21:35:04 +02:00
Maxim Cournoyer 96d650cab3 test: test_completion: Dynamically resolve current directory name.
This fixes issue #1395 (see:
https://github.com/davidhalter/jedi/issues/1395).

* test/test_api/test_completion.py(current_dirname): New variable.
(test_file_path_completions): Use it.
2019-09-19 23:35:18 +02:00
ANtlord 659aaf6861 Naming corrections. 2019-09-19 08:42:39 +03:00
ANtlord d68545d8de Merge branch 'master' of https://github.com/davidhalter/jedi 2019-09-18 09:28:30 +03:00
ANtlord f5ae7148dd Basic django model fields are infered as builtin types. 2019-09-18 09:27:39 +03:00
Dave Halter e86a2ec566 Small rename 2019-09-08 03:32:47 +02:00
Dave Halter e179b3e526 Add a test for dict key completions 2019-09-07 02:58:21 +02:00
Dave Halter 66022edf14 Skip Python 2 tests for some array issues 2019-09-06 00:04:44 +02:00
Dave Halter ae79919eb4 Skip some param resolving tests in Python 2/3.4 2019-09-05 18:27:37 +02:00
Dave Halter fbe58306c3 Add a few tests for a previous assertion failure 2019-09-05 10:57:04 +02:00
Dave Halter 9c19f72af3 Make sure a compiled instance is is_compiled 2019-09-05 10:13:03 +02:00
Dave Halter a9f1d3d9bb Reenable a test 2019-09-05 10:09:33 +02:00
Dave Halter 1db3e9a65d Disable a test in Python2 2019-09-05 10:03:50 +02:00
Dave Halter 599eded3d1 Remove a few unused imports 2019-09-05 00:54:13 +02:00
Dave Halter 4e68287bba Move eval_node to one place 2019-09-05 00:52:14 +02:00
Dave Halter 008e9860a8 Avoid creating the same object twice 2019-09-05 00:37:51 +02:00
Dave Halter 8cd5932fed Move inference_state.goto to the name and _follow_error_node_imports_if_possible away from inference_state 2019-09-05 00:34:13 +02:00
Dave Halter 67c007338a Make some dynamic array variables private 2019-09-05 00:18:01 +02:00
Dave Halter aea2ddcbd8 ContextualizedName -> TreeNameDefinition 2019-09-05 00:15:38 +02:00
Dave Halter 4d332c32c0 Use create_name instead of duplicated logic 2019-09-05 00:04:24 +02:00
Dave Halter 02046d5333 Replace obj with value 2019-09-04 11:12:30 +02:00
Dave Halter 2faa8ade8b Remove get_object, it's not needed anymore 2019-09-04 11:04:09 +02:00
Dave Halter f9292ca8fa Implement properties properly 2019-09-04 11:00:43 +02:00
Dave Halter 40b01bfd2c Make arguments private for instance 2019-09-04 09:34:22 +02:00
Dave Halter 46e9b9e7cf Refactor dynamic params a bit 2019-09-04 09:31:01 +02:00
Dave Halter 96848dd627 Revert "Refactor some dynamic function arguments things"
This reverts commit e7d9a59da2.
2019-09-04 09:28:31 +02:00
Dave Halter e7d9a59da2 Refactor some dynamic function arguments things 2019-09-04 09:27:06 +02:00