Skip to content

Commit 249c562

Browse files
authored
Fix typing error (#696)
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 8a81708 commit 249c562

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vulnerabilities/improvers/default.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from itertools import chain
22
from typing import Iterable
33
from typing import List
4+
from typing import Tuple
45

56
from django.db.models.query import QuerySet
67
from packageurl import PackageURL
@@ -38,7 +39,7 @@ def get_inferences(self, advisory_data: AdvisoryData) -> Iterable[Inference]:
3839
)
3940

4041

41-
def get_exact_purls(affected_package: AffectedPackage) -> (List[PackageURL], PackageURL):
42+
def get_exact_purls(affected_package: AffectedPackage) -> Tuple[List[PackageURL], PackageURL]:
4243
"""
4344
Return a list of affected purls and the fixed package found in the ``affected_package``
4445
AffectedPackage disregarding any ranges.

0 commit comments

Comments
 (0)