We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ac6c6 commit d17c08bCopy full SHA for d17c08b
pycodestyle.py
@@ -152,7 +152,7 @@ def lru_cache(maxsize=128): # noqa as it's a fake implementation.
152
COMPARE_TYPE_REGEX = re.compile(r'(?:[=!]=|is(?:\s+not)?)\s+type(?:s.\w+Type'
153
r'|\s*\(\s*([^)]*[^ )])\s*\))')
154
KEYWORD_REGEX = re.compile(r'(\s*)\b(?:%s)\b(\s*)' % r'|'.join(KEYWORDS))
155
-OPERATOR_REGEX = re.compile(r'(?:[^,\s])(\s*)(?:(?:[-+*/|!<=>%&^]+|:=))(\s*)')
+OPERATOR_REGEX = re.compile(r'(?:[^,\s])(\s*)(?:[-+*/|!<=>%&^]+|:=)(\s*)')
156
LAMBDA_REGEX = re.compile(r'\blambda\b')
157
HUNK_REGEX = re.compile(r'^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@.*$')
158
STARTSWITH_DEF_REGEX = re.compile(r'^(async\s+def|def)\b')
0 commit comments