Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pylsp/plugins/rope_autoimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def reload_cache(
config: Config,
workspace: Workspace,
files: Optional[List[Document]] = None,
single_thread: Optional[bool] = False,
single_thread: Optional[bool] = True,
):
if self.is_blocked():
return
Expand Down
2 changes: 1 addition & 1 deletion test/plugins/test_autoimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def test_autoimport_code_actions_and_completions_for_notebook_document(
)
assert rope_autoimport_settings.get("completions", {}).get("enabled", False) is True
assert rope_autoimport_settings.get("memory", False) is True
wait_for_condition(lambda: not cache.thread.is_alive())
wait_for_condition(lambda: not cache.is_blocked())

# 1.
quick_fixes = server.code_actions("cell_1_uri", {}, make_context("os", 0, 0, 2))
Expand Down