Skip to content

Commit

Permalink
mypy fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Oct 6, 2023
1 parent a058afb commit b4052b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serializable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ def serializable_enum(cls: Literal[None] = None) -> Callable[[Type[_E]], Type[_E


@overload
def serializable_enum(cls: Type[_E]) -> Type[_E]:
def serializable_enum(cls: Type[_E]) -> Type[_E]: # type:ignore[misc] # mypy on py37
...


Expand Down Expand Up @@ -1144,7 +1144,7 @@ def serializable_class(


@overload
def serializable_class(
def serializable_class( # type:ignore[misc] # mypy on py37
cls: Type[_T], *,
name: Optional[str] = ...,
serialization_types: Optional[Iterable[SerializationType]] = ...,
Expand Down

0 comments on commit b4052b9

Please sign in to comment.