Skip to content

Commit eab2896

Browse files
author
Jussi Kukkonen
committed
Metadata API: Fix verify_delegate() annotation
mypy rules are stricter now. Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent fa502d2 commit eab2896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tuf/api/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def verify_delegate(
274274
delegated_role: str,
275275
delegated_metadata: "Metadata",
276276
signed_serializer: Optional[SignedSerializer] = None,
277-
):
277+
) -> None:
278278
"""Verifies that 'delegate' is signed with the required threshold of
279279
keys for the delegated role 'role_name'.
280280

0 commit comments

Comments
 (0)