fix(ci): ignore hanzo-tools-core deprecation warning in pytest

This commit is contained in:
2025-12-27 15:08:38 -08:00
parent 2200d578d9
commit 07ce4b521b
2 changed files with 2 additions and 6 deletions
@@ -3,14 +3,9 @@
import sys
import time
import asyncio
import warnings
import pytest
# Filter the deprecation warning from hanzo-tools-core
# It's expected since we're testing the backwards-compat layer
warnings.filterwarnings("ignore", message="hanzo-tools-core is deprecated")
def _module_installed(module_name: str) -> bool:
"""Check if a module is installed."""
+2 -1
View File
@@ -158,7 +158,8 @@ filterwarnings = [
"error",
"ignore:OpenTelemetry configuration.*is not supported by Datadog:UserWarning",
"ignore::DeprecationWarning:ddtrace.*",
"ignore:Support for class-based `config` is deprecated:pydantic.warnings.PydanticDeprecatedSince20"
"ignore:Support for class-based `config` is deprecated:pydantic.warnings.PydanticDeprecatedSince20",
"ignore:hanzo-tools-core is deprecated:DeprecationWarning"
]
[tool.pyright]