Skip to content

Files

Latest commit

 

History

History
26 lines (17 loc) · 447 Bytes

File metadata and controls

26 lines (17 loc) · 447 Bytes

Pattern: Use of whitespace after (

Issue: -

Description

Open parentheses should not have any space before or after them.

Example of incorrect code:

# The space after open is unnecessary
with open( 'file.dat') as f:
    contents = f.read()

Example of correct code:

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

Further Reading