Skip to content

Commit f09dbe8

Browse files
fix: Minor fix for parse version function
Signed-off-by: Radhika Agrawal <agrawalradhika@google.com>
1 parent e4fce94 commit f09dbe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def read_datafile(filename, mode="r"):
141141
with open(datafile(filename), mode=mode) as f:
142142
return f.read()
143143

144-
def parse_version_to_tuple(version_string: str) -> ParsedVersion:
144+
def parse_version_to_tuple(version_string):
145145
"""Safely converts a semantic version string to a comparable tuple of integers.
146146
147147
Example: "4.25.8" -> (4, 25, 8)

0 commit comments

Comments
 (0)