From ee4a7d7261234ef2ca68e082408ded98a4fde73f Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Tue, 4 Jun 2024 13:02:05 -0700 Subject: [PATCH] Update `pytest` warning filters. --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9c144617a5..6b8d66d048 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -215,7 +215,10 @@ line-length = 120 # output of pytest noisy. Since no action is going to be taken, hide those # warnings. filterwarnings = [ - "ignore:Deprecated call to.*", - "ignore:pkg_resources is deprecated as an API" + "ignore::DeprecationWarning:dbt_common.*:", + "ignore::DeprecationWarning:halo.*:", + # `protobuff` issue: https://github.com/protocolbuffers/protobuf/issues/15077 + # protobuff is specified by `dbt-core` + 'ignore:.*Type google.*:DeprecationWarning', ] python_functions = "test_* populate_source_schema"