Skip to content

Commit 2d35918

Browse files
committed
Fix type hints.
1 parent 4c28b5c commit 2d35918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

domdf_python_tools/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,11 +636,11 @@ def deprecated(
636636
else:
637637
is_deprecated = True
638638
elif current_version:
639-
current_version = version.parse(current_version)
639+
current_version = version.parse(current_version) # type: ignore
640640

641-
if removed_in is not None and current_version >= version.parse(removed_in):
641+
if removed_in is not None and current_version >= version.parse(removed_in): # type: ignore
642642
is_unsupported = True
643-
elif deprecated_in is not None and current_version >= version.parse(deprecated_in):
643+
elif deprecated_in is not None and current_version >= version.parse(deprecated_in): # type: ignore
644644
is_deprecated = True
645645
else:
646646
# If we can't actually calculate that we're in a period of

0 commit comments

Comments
 (0)