Skip to content

Commit

Permalink
style(typing): add type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
nstarman committed Jan 8, 2025
1 parent ac71e2d commit 00bf9b9
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 438 deletions.
2 changes: 1 addition & 1 deletion src/optional_dependencies/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __call__(self, enum: OptionalDependencyEnum, other: object) -> bool:
"""
# Defer to the other object if it is not a Version
if not isinstance(other, Version):
return NotImplemented
return NotImplemented # type: ignore[no-any-return]

# If the optional dependency is not installed, it is not greater than
# the other version.
Expand Down
Loading

0 comments on commit 00bf9b9

Please sign in to comment.