From 4a311c7b0bc9b5819e0ea61d127702f287d22f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Fri, 31 May 2024 14:15:14 +0200 Subject: [PATCH] Ignore new resource warning from anyio --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 0898c0c8..5c14389b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,6 +143,8 @@ filterwarnings = [ "ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning", # see https://github.com/dateutil/dateutil/issues/1314 "ignore:.*datetime.utcfromtimestamp\\(\\) is deprecated.*:DeprecationWarning:", + # From anyio https://github.com/agronholm/anyio/pull/715 + 'ignore:Unclosed :ResourceWarning', ] [tool.mypy]