Skip to content

Files

Latest commit

 

History

History
29 lines (18 loc) · 465 Bytes

File metadata and controls

29 lines (18 loc) · 465 Bytes

Pattern: Missing 2 blank lines after end of function or class

Issue: -

Description

Functions and classes should have two blank lines after them, separating them from other functions and classes.

Example of incorrect code:

class User(object):
    pass
user = User()

Example of correct code:

class User(object):
    pass


user = User()

Further Reading