From fdfb8a229f4ebeb34337e064db391c17db9173cc Mon Sep 17 00:00:00 2001 From: "Edward K. Ream" Date: Fri, 16 Dec 2022 08:45:48 -0600 Subject: [PATCH] Remove a pyflakes nit and a flake8 suppression --- rope/refactor/patchedast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rope/refactor/patchedast.py b/rope/refactor/patchedast.py index 74bb6024b..61b07adac 100644 --- a/rope/refactor/patchedast.py +++ b/rope/refactor/patchedast.py @@ -922,7 +922,7 @@ def consume(self, token, skip_comment=True): break else: self._skip_comment() - except (ValueError, TypeError) as e: # noqa + except (ValueError, TypeError): raise MismatchedTokenError( f"Token <{token}> at {self._get_location()} cannot be matched" )