aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/__init__.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-23 17:08:18 +0300
committerFrederick Muriuki Muriithi2024-04-23 17:08:18 +0300
commitb4278a0dfd1aaa1c95cc811aa15f3cf9ea4a54bc (patch)
treee6495dbd699515258aa841c6722cc085c626be1c /gn_auth/__init__.py
parentd4b8d19a74607468c21a247f07f39c8a18e59993 (diff)
downloadgn-auth-b4278a0dfd1aaa1c95cc811aa15f3cf9ea4a54bc.tar.gz
pylint: Fix linting errors.
Diffstat (limited to 'gn_auth/__init__.py')
-rw-r--r--gn_auth/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/__init__.py b/gn_auth/__init__.py
index 0d0eb12..881ae1e 100644
--- a/gn_auth/__init__.py
+++ b/gn_auth/__init__.py
@@ -63,7 +63,7 @@ def load_secrets_conf(app: Flask) -> None:
def parse_ssl_keys(app):
"""Parse the SSL keys."""
def __parse_key__(keypath: Path) -> JsonWebKey:
- with open(keypath) as _sslkey:
+ with open(keypath) as _sslkey:# pylint: disable=[unspecified-encoding]
return JsonWebKey.import_key(_sslkey.read())
key_storage_dir = Path(app.config["UPLOADS_DIR"]).joinpath(