There should be one, and only one, blank line at the end of each file. This warning will occur when there are two or more blank lines.

Anti-pattern

Imagine the example below is an entire file.

class MyClass(object):
    pass

Best practice

class MyClass(object):
    pass