Skip to content

Commit 17478f1

Browse files
committed
Run ruff.
Signed-off-by: Guiliano99 <[email protected]>
1 parent 7314b2f commit 17478f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

oqs/serialize.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import logging
77
from pathlib import Path
8-
from typing import Optional, Union, Tuple
8+
from typing import Optional, Union
99

1010
from pyasn1.codec.der import encoder, decoder
1111
from pyasn1.type import univ, tag
@@ -66,7 +66,7 @@ def serialize_stateful_signature_key(
6666

6767
def deserialize_stateful_signature_key(
6868
key_name: str, dir_name: Union[str, Path] = _KEY_DIR
69-
) -> Tuple[bytes, bytes]:
69+
) -> tuple[bytes, bytes]:
7070
"""
7171
Deserialize the stateful signature key from a `OneAsymmetricKey` structure.
7272
@@ -119,7 +119,7 @@ def _may_generate_stfl_key(
119119

120120
def gen_or_load_stateful_signature_key(
121121
key_name: str, dir_name: Union[str, Path] = _KEY_DIR
122-
) -> Tuple[Optional[bytes], Optional[bytes]]:
122+
) -> tuple[Optional[bytes], Optional[bytes]]:
123123
"""
124124
Generate or load a stateful signature key pair.
125125

0 commit comments

Comments
 (0)