From 91e7970d53d940d3f5c307d979ea964e5530fbf5 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 16 Dec 2022 20:46:48 +0200 Subject: [PATCH] Fix pycodestyle issue --- libagent/age/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libagent/age/__init__.py b/libagent/age/__init__.py index d22a8ba..d76836a 100644 --- a/libagent/age/__init__.py +++ b/libagent/age/__init__.py @@ -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 BYTES_PER_LINE = 48 + def base64_encode(data: bytes) -> str: """Encode data using Base64 (and remove '=').""" reader = io.BytesIO(data)