def missing_newline(physical_line):
    """

    >>> missing_newline('SELECT 1\\n')
    >>> missing_newline('SELECT 1')
    (8, 'W292 no newline at end of file')
    """
    if physical_line.rstrip() == physical_line:
        return len(physical_line), 'W292 no newline at end of file'
