diff options
author | Jared Hobbs <jared@pyhacker.com> | 2019-04-24 12:30:25 -0600 |
---|---|---|
committer | Jared Hobbs <jared@pyhacker.com> | 2019-04-24 12:30:25 -0600 |
commit | f9d8c0371c832c0f306831e65763bd380900d320 (patch) | |
tree | 7fbe55357c7089b2f22cb23bc37f8746c570e7b3 | |
parent | 8d57be27ddeda68cbc0f97ee857871aadb5c5170 (diff) |
add noqa comments
-rw-r--r-- | paramiko/pkey.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/paramiko/pkey.py b/paramiko/pkey.py index 0464795a..e22b171c 100644 --- a/paramiko/pkey.py +++ b/paramiko/pkey.py @@ -76,9 +76,11 @@ class PKey(object): PRIVATE_KEY_FORMAT_ORIGINAL = 1 PRIVATE_KEY_FORMAT_OPENSSH = 2 BEGIN_TAG = re.compile( - "^-{5}BEGIN (RSA|DSA|EC|OPENSSH) PRIVATE KEY-{5}\s*$" + "^-{5}BEGIN (RSA|DSA|EC|OPENSSH) PRIVATE KEY-{5}\s*$" # noqa: W605 + ) + END_TAG = re.compile( + "^-{5}END (RSA|DSA|EC|OPENSSH) PRIVATE KEY-{5}\s*$" # noqa: W605 ) - END_TAG = re.compile("^-{5}END (RSA|DSA|EC|OPENSSH) PRIVATE KEY-{5}\s*$") def __init__(self, msg=None, data=None): """ |