Skip to content

Files

Latest commit

 

History

History
25 lines (17 loc) · 401 Bytes

File metadata and controls

25 lines (17 loc) · 401 Bytes

Pattern: Use of multiple spaces before keyword

Issue: -

Description

There should be only one space before a keyword.

Example of incorrect code:

In this example there are two spaces before the in keyword.

def func():
    if 1  in [1, 2, 3]:
        print('yep!')

Example of correct code:

def func():
    if 1 in [1, 2, 3]:
        print('yep!')