From 982fabca5f7116aab9f7907daa7dda915d517a7c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 12 Nov 2023 17:26:42 -0500 Subject: [PATCH] Disable type checking on filter call. Fixes #659. --- keyring/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyring/core.py b/keyring/core.py index 3f428089..1dcb3677 100644 --- a/keyring/core.py +++ b/keyring/core.py @@ -99,7 +99,7 @@ def _detect_backend(limit: typing.Optional[LimitCallable] = None): or load_config() or max( # all keyrings passing the limit filter - filter(limit, backend.get_all_keyring()), + filter(limit, backend.get_all_keyring()), # type: ignore # 659 default=fail.Keyring(), key=backend.by_priority, )