chore: fix lint formatting issues
This commit is contained in:
parent
858769249c
commit
b4efa21c82
@ -1,5 +1,5 @@
|
|||||||
# buildin 工具包
|
# buildin 工具包
|
||||||
from .tools import calculator, query_knowledge_graph, text_to_img_qwen_image, ask_user_question
|
from .tools import ask_user_question, calculator, query_knowledge_graph, text_to_img_qwen_image
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"ask_user_question",
|
"ask_user_question",
|
||||||
|
|||||||
@ -104,4 +104,4 @@ async def test_txt_add_vector_entity_parsing():
|
|||||||
assert call2["r_type"] == "LIKES"
|
assert call2["r_type"] == "LIKES"
|
||||||
assert call2["r_props"] == {"weight": 0.8}
|
assert call2["r_props"] == {"weight": 0.8}
|
||||||
|
|
||||||
print("Verification passed!")
|
print("Verification passed!")
|
||||||
|
|||||||
@ -279,4 +279,4 @@ async def test_update_skill_dependencies(monkeypatch: pytest.MonkeyPatch):
|
|||||||
assert captured["mcp_dependencies"] == ["mcp-a"]
|
assert captured["mcp_dependencies"] == ["mcp-a"]
|
||||||
assert captured["skill_dependencies"] == ["beta"]
|
assert captured["skill_dependencies"] == ["beta"]
|
||||||
assert captured["updated_by"] == "root"
|
assert captured["updated_by"] == "root"
|
||||||
assert updated.skill_dependencies == ["beta"]
|
assert updated.skill_dependencies == ["beta"]
|
||||||
|
|||||||
@ -42,4 +42,4 @@ def test_selected_skills_backend_readonly_and_visible_only_selected(tmp_path, mo
|
|||||||
|
|
||||||
upload_result = backend.upload_files([("/alpha/a.txt", b"a")])
|
upload_result = backend.upload_files([("/alpha/a.txt", b"a")])
|
||||||
assert len(upload_result) == 1
|
assert len(upload_result) == 1
|
||||||
assert upload_result[0].error == "permission_denied"
|
assert upload_result[0].error == "permission_denied"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user