diff roundup/token_r.py @ 7228:07ce4e4110f5

flake8 fixes: whitespace, remove unused imports
author John Rouillard <rouilj@ieee.org>
date Sat, 18 Mar 2023 14:16:31 -0400
parents db06d4aeb978
children 9a74dfeb8620
line wrap: on
line diff
--- a/roundup/token_r.py	Thu Mar 16 16:34:11 2023 -0400
+++ b/roundup/token_r.py	Sat Mar 18 14:16:31 2023 -0400
@@ -54,8 +54,8 @@
     while 1:
         # end of string, finish off the current token
         if pos == length:
-            if state == QUOTE: raise ValueError
-            elif state == TOKEN: l.append(token)
+            if state == QUOTE: raise ValueError     # noqa: E701
+            elif state == TOKEN: l.append(token)    # noqa: E701
             break
         c = s[pos]
         if state == NEWTOKEN:

Roundup Issue Tracker: http://roundup-tracker.org/