Skip to content

Commit 059bf5d

Browse files
committed
fix typehints
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent f0e0530 commit 059bf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cyclonedx/model/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from functools import reduce
2020
from hashlib import sha1
2121
from itertools import zip_longest
22-
from typing import Any, Iterable, List, Optional, Tuple, TypeVar
22+
from typing import Any, Iterable, Optional, Tuple, TypeVar
2323

2424
import serializable
2525
from sortedcontainers import SortedSet
@@ -430,7 +430,7 @@ class XsUri(serializable.helpers.BaseHelper):
430430

431431
_INVALID_URI_REGEX = re.compile(r'%(?![0-9A-F]{2})|#.*#', re.IGNORECASE + re.MULTILINE)
432432

433-
__SPEC_REPLACEMENTS: List[Tuple[str, str]] = (
433+
__SPEC_REPLACEMENTS = (
434434
(' ', '%20'),
435435
('[', '%5B'),
436436
(']', '%5D'),

0 commit comments

Comments
 (0)