add pytest configuration

Ignores certain warnings I cannot control
This commit is contained in:
Mose Müller 2025-05-20 15:34:40 +02:00
parent c32b6a8694
commit ae2c99b3ae

View File

@ -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"
]