Skip to content

Files

Latest commit

 

History

History
24 lines (12 loc) · 547 Bytes

ConsecutiveBlankLines.md

File metadata and controls

24 lines (12 loc) · 547 Bytes

Pattern: Consecutive blank lines

Issue: -

Description

Makes sure there are no consecutive lines that are either blank or whitespace only. This reduces the need to scroll further than necessary when reading code, and increases the likelihood that a logical block of code will fit on one screen for easier comprehension.

Example of violation:

def name


def value



def id

Further Reading