Skip to content

Files

Latest commit

 

History

History
27 lines (15 loc) · 435 Bytes

File metadata and controls

27 lines (15 loc) · 435 Bytes

Pattern: Missing blank line at end of file

Issue: -

Description

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.

Example of incorrect code:

Imagine the example below is an entire file.

class MyClass(object):
    pass

Example of correct code:

class MyClass(object):
    pass