Skip to content

Commit

Permalink
[melobot] Fix mypy complaint in python >= 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
aicorein committed Dec 25, 2024
1 parent 4a30744 commit 0134a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/melobot/typ.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def is_type(obj: T, hint: type[Any]) -> TypeGuard[T]:
:return: 布尔值
"""
ret = _is_type(obj, hint, conf=_DEFAULT_BEARTYPE_CONF)
return ret
return ret # type: ignore[no-any-return]


class HandleLevel(float, Enum):
Expand Down

0 comments on commit 0134a66

Please sign in to comment.