summaryrefslogtreecommitdiff
path: root/rsa/key.py
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2019-08-04 18:05:23 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2019-08-04 18:05:23 +0200
commitf2c3b4fd619a08a31fa49b11a0814e86169f4088 (patch)
treeb453bc7ac0794923bd9063cdf74466ad7ddc69ba /rsa/key.py
parent3c5ee594a2e38b27f086d042d9d2b9d7d0d0269d (diff)
downloadrsa-git-f2c3b4fd619a08a31fa49b11a0814e86169f4088.tar.gz
Added flake8 as development dependency and fixed reported issues
Diffstat (limited to 'rsa/key.py')
-rw-r--r--rsa/key.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsa/key.py b/rsa/key.py
index 05c77ef..b4d902b 100644
--- a/rsa/key.py
+++ b/rsa/key.py
@@ -118,7 +118,8 @@ class AbstractKey:
return method(keyfile)
@staticmethod
- def _assert_format_exists(file_format: str, methods: typing.Mapping[str, typing.Callable]) -> typing.Callable:
+ def _assert_format_exists(file_format: str, methods: typing.Mapping[str, typing.Callable]) \
+ -> typing.Callable:
"""Checks whether the given file format exists in 'methods'.
"""