Skip to content

Files

Latest commit

 

History

History
25 lines (16 loc) · 391 Bytes

File metadata and controls

25 lines (16 loc) · 391 Bytes

Pattern: Use of whitespace before :

Issue: -

Description

Colons should not have any space before them.

Example of incorrect code:

with open('file.dat') as f :
    contents = f.read()

Example of correct code:

with open('file.dat') as f:
    contents = f.read()

Further Reading