Skip to content

Commit

Permalink
Disable type checking on filter call. Fixes #659.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 12, 2023
1 parent 639b1af commit 982fabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyring/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 982fabc

Please sign in to comment.