def imports_on_separate_lines(logical_line):
line = logical_line<EOL>if line.startswith('<STR_LIT>'):<EOL><INDENT>found = line.find('<STR_LIT:U+002C>')<EOL>if -<NUM_LIT:1> < found and '<STR_LIT:;>' not in line[:found]:<EOL><INDENT>yield found, "<STR_LIT>"<EOL><DEDENT><DEDENT>
r"""Imports should usually be on separate lines.

    Okay: import os\nimport sys
    E401: import sys, os

    Okay: from subprocess import Popen, PIPE
    Okay: from myclas import MyClass
    Okay: from foo.bar.yourclass import YourClass
    Okay: import myclass
    Okay: import foo.bar.yourclass