def whitespace_around_operator(logical_line):
for match in OPERATOR_REGEX.finditer(logical_line):<EOL><INDENT>before, after = match.groups()<EOL>if '<STR_LIT:\t>' in before:<EOL><INDENT>yield match.start(<NUM_LIT:1>), "<STR_LIT>"<EOL><DEDENT>elif len(before) > <NUM_LIT:1>:<EOL><INDENT>yield match.start(<NUM_LIT:1>), "<STR_LIT>"<EOL><DEDENT>if '<STR_LIT:\t>' in after:<EOL><INDENT>yield match.start(<NUM_LIT:2>), "<STR_LIT>"<EOL><DEDENT>elif len(after) > <NUM_LIT:1>:<EOL><INDENT>yield match.start(<NUM_LIT:2>), "<STR_LIT>"<EOL><DEDENT><DEDENT>
r"""Avoid extraneous whitespace around an operator.

    Okay: a = 12 + 3
    E221: a = 4  + 5
    E222: a = 4 +  5
    E223: a = 4\t+ 5
    E224: a = 4 +\t5