Add pyright strict mode on the whole project (#1254)

This commit is contained in:
Marcelo Trylesinski 2025-08-11 19:56:37 +02:00 • committed by GitHub
commit c7671e470c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -263,7 +263,7 @@ async def test_enum_constraint_validation():
@pytest.mark.anyio
async def test_tool_not_in_list_logs_warning(caplog):
async def test_tool_not_in_list_logs_warning(caplog: pytest.LogCaptureFixture):
"""Test that calling a tool not in list_tools logs a warning and skips validation."""
tools = [
Tool(