From ae2c99b3aec766f2ed61736366c5875dd0a05c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Tue, 20 May 2025 15:34:40 +0200 Subject: [PATCH] add pytest configuration Ignores certain warnings I cannot control --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a6ec5fd..20ad891 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,3 +104,10 @@ disallow_incomplete_defs = true disallow_any_generics = true check_untyped_defs = true ignore_missing_imports = false + +[tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" +filterwarnings = [ + # I don't controll the usage of the timeout + "ignore:parameter 'timeout' of type 'float' is deprecated, please use 'timeout=ClientWSTimeout" +]