Skip to content

Commit

Permalink
Fixes type hint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
schuylermartin45 committed Jan 11, 2024
1 parent 968f920 commit c745ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anaconda_packaging_utils/api/repodata_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class PackageData:
# TODO rm: Enforce type checking when this PR is released
# https://github.com/conda/conda/pull/13385
@no_type_check
def __lt__(self, other: VersionOrder) -> bool:
def __lt__(self, other: object) -> bool:
"""
Allows for version comparisons between two `PackageData` instances
NOTE: We are relying on the default implementation of `__eq__()` for dataclasses, which checks that all fields
Expand Down

0 comments on commit c745ccb

Please sign in to comment.