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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dev = [
"mypy>=0.981,<3.0.0",
"pre-commit>=3.2.0,<4.2.0",
"pytest>=8.0.0,<10.0.0",
"ruff>=0.13.0,<0.14.0",
"ruff>=0.13.0,<0.17.0",
"responses>=0.6.1,<1.0.0",
"mem0ai>=0.1.104,<1.0.0",
"opensearch-py>=2.8.0,<3.0.0",
Expand Down Expand Up @@ -127,7 +127,7 @@ features = ["mem0-memory", "local-chromium-browser", "agent-core-browser", "agen
dependencies = [
"strands-agents>=1.0.0",
"mypy>=0.981,<3.0.0",
"ruff>=0.13.0,<0.14.0",
"ruff>=0.13.0,<0.17.0",
]

[tool.hatch.envs.hatch-static-analysis.scripts]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_agent_core_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def mock_boto3_client():
mock_bedrock_agent_core = mock.MagicMock()

# Configure boto3.client to return our mock
mock_client.side_effect = (
lambda service, **kwargs: mock_bedrock_agent_core if service == "bedrock-agentcore" else None
mock_client.side_effect = lambda service, **kwargs: (
mock_bedrock_agent_core if service == "bedrock-agentcore" else None
)

yield {
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/test_generate_schema_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def test_invalid_operation(self, mock_boto_client):
# Patch hasattr to return False for the operation
with patch(
"strands_tools.utils.generate_schema_util.hasattr",
side_effect=lambda obj, name: (False if name in ["invalid_operation", "InvalidOperation"] else True),
side_effect=lambda obj, name: False if name in ["invalid_operation", "InvalidOperation"] else True,
):
# Mock the conversion functions
with patch(
Expand Down
Loading