mirror of
https://github.com/dataforcanada/d4c-service-geo-assistant.git
synced 2026-06-15 07:21:02 +02:00
Use ruff rules COM, F, I, RUF, UP (#17)
* Use pyupgrade (UP) rule * Use pyflakes (F) rule * Use isort (I) rule * Use ruff-specific (RUF) rules * Use flake8-commas (COM) rule * Fix UP043 Unnecessary default type arguments
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
from langchain_core.tools.base import ToolCall
|
||||
|
||||
@@ -24,6 +25,6 @@ async def test_get_place():
|
||||
type="tool_call",
|
||||
id="test_id",
|
||||
args={"place_name": "Neighbourhood Cafe Lisbon"},
|
||||
)
|
||||
),
|
||||
)
|
||||
assert "place" in command.update
|
||||
|
||||
Reference in New Issue
Block a user