From f9d8c0371c832c0f306831e65763bd380900d320 Mon Sep 17 00:00:00 2001 From: Jared Hobbs Date: Wed, 24 Apr 2019 12:30:25 -0600 Subject: add noqa comments --- paramiko/pkey.py | 6 ++++-- 1 file 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): """ -- cgit v1.2.3