From 3f89319d08f8a4cf5ab6968dc9219730c57ad80a Mon Sep 17 00:00:00 2001 From: Benjamin Dornel Date: Fri, 27 Oct 2023 00:28:25 +0800 Subject: [PATCH] fix(ci): reduce pytest warning noise for grpc deprecation warning --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 22989428..32466a2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,12 @@ line-length = 88 [tool.isort] profile = "black" +[tool.pytest.ini_options] +filterwarnings = [ + "ignore:Deprecated call to `pkg_resources\\.declare_namespace\\('.*'\\):DeprecationWarning", + "ignore::DeprecationWarning:google.rpc", +] + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"