Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 18, 2024
1 parent 43c1751 commit f3de444
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/pybase64/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,21 @@ class Decode(Protocol):

def __call__(
self, s: str | Buffer, altchars: str | Buffer | None = None, validate: bool = False
) -> bytes:
...
) -> bytes: ...


class Encode(Protocol):
__name__: str
__module__: str

def __call__(self, s: Buffer, altchars: Buffer | None = None) -> bytes:
...
def __call__(self, s: Buffer, altchars: Buffer | None = None) -> bytes: ...


class EncodeBytes(Protocol):
__name__: str
__module__: str

def __call__(self, s: Buffer) -> bytes:
...
def __call__(self, s: Buffer) -> bytes: ...


__all__ = ("Buffer", "Decode", "Encode", "EncodeBytes")

0 comments on commit f3de444

Please sign in to comment.