diff --git a/pyproject.toml b/pyproject.toml index 64b76cd384..8dc56b9401 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -224,6 +224,9 @@ filterwarnings = [ "ignore:distutils Version classes are deprecated:DeprecationWarning:ipywidgets_bokeh.kernel", # OK "ignore:unclosed file <_io.TextIOWrapper name='(/dev/null|nul)' mode='w':ResourceWarning", # OK "ignore:Deprecated in traitlets 4.1, use the instance .metadata dictionary directly", # OK (ipywidgets internal) + # 2024-11 + "ignore:websockets.legacy is deprecated:DeprecationWarning", # https://github.com/encode/uvicorn/issues/1908 + "ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning", # https://github.com/encode/uvicorn/issues/1908 ] [tool.mypy]