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

Anti-pattern

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

Best practice

class User(object):
    pass


user = User()