Skip to content

Files

Latest commit

 

History

History
25 lines (16 loc) · 404 Bytes

File metadata and controls

25 lines (16 loc) · 404 Bytes

Pattern: Use of whitespace before )

Issue: -

Description

Closing parentheses should not have any before after 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