Blank line at end of file (W391)
There should be one, and only one, blank line at the end of each file. This warning will occur when there are zero, two, or more than two blank lines.
Anti-pattern
Imagine the example below is an entire file.
class MyClass(object):
pass
Best practice
class MyClass(object):
pass