Fix pycodestyle issue

This commit is contained in:
Roman Zeyde
2022-12-16 20:46:48 +02:00
parent 8322cf455e
commit 91e7970d53

View File

@@ -69,6 +69,7 @@ def base64_decode(encoded: str) -> bytes:
# https://github.com/FiloSottile/age/blob/v1.1.0-rc.1/internal/format/format.go#L45 # https://github.com/FiloSottile/age/blob/v1.1.0-rc.1/internal/format/format.go#L45
BYTES_PER_LINE = 48 BYTES_PER_LINE = 48
def base64_encode(data: bytes) -> str: def base64_encode(data: bytes) -> str:
"""Encode data using Base64 (and remove '=').""" """Encode data using Base64 (and remove '=')."""
reader = io.BytesIO(data) reader = io.BytesIO(data)