@check_for(Definition)<EOL><INDENT>def check_one_liners(self, definition, docstring):<DEDENT>
if docstring:<EOL><INDENT>lines = ast.literal_eval(docstring).split('<STR_LIT:\n>')<EOL>if len(lines) > <NUM_LIT:1>:<EOL><INDENT>non_empty_lines = sum(<NUM_LIT:1> for l in lines if not is_blank(l))<EOL>if non_empty_lines == <NUM_LIT:1>:<EOL><INDENT>return violations.D200(len(lines))<EOL><DEDENT><DEDENT><DEDENT>
D200: One-liner docstrings should fit on one line with quotes.

        The closing quotes are on the same line as the opening quotes.
        This looks better for one-liners.