Skip to content

Files

Latest commit

 

History

History
32 lines (22 loc) · 483 Bytes

File metadata and controls

32 lines (22 loc) · 483 Bytes

Pattern: Missing blank line between class methods

Issue: -

Description

One blank line is expected between the methods of a class.

Example of incorrect code:

class TestClass(object):
    def func1():
        pass
    def func2():
        pass

Example of correct code:

class TestClass(object):
    def func1():
        pass

    def func2():
        pass

Further Reading