Skip to content

Commit

Permalink
🚨 Remove unneded type ignore
Browse files Browse the repository at this point in the history
Mypy has been fixed :). See python/mypy#5887
  • Loading branch information
HacKanCuBa committed Dec 28, 2021
1 parent 190d89c commit 6489f01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blake2signer/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(
personalisation += self._serializer.__class__.__name__.encode()
kwargs['personalisation'] = personalisation

super().__init__(*args, **kwargs) # type: ignore
super().__init__(*args, **kwargs)

def _serialize(self, data: typing.Any, **kwargs: typing.Any) -> bytes:
"""Serialize given data. Additional kwargs are passed to the serializer.
Expand Down Expand Up @@ -134,7 +134,7 @@ def __init__(
self._compression_flag: bytes = self._validate_comp_flag(compression_flag)
self._compression_ratio: float = self._validate_comp_ratio(compression_ratio)

super().__init__(*args, **kwargs) # type: ignore
super().__init__(*args, **kwargs)

def _validate_comp_flag(self, flag: typing.Union[str, bytes]) -> bytes:
"""Validate the compression flag value and return it clean."""
Expand Down Expand Up @@ -280,7 +280,7 @@ def __init__(
personalisation += self._encoder.__class__.__name__.encode()
kwargs['personalisation'] = personalisation

super().__init__(*args, **kwargs) # type: ignore
super().__init__(*args, **kwargs)

@staticmethod
def _validate_encoder(
Expand Down

0 comments on commit 6489f01

Please sign in to comment.