Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdebruin committed Dec 13, 2024
1 parent aaf4a0a commit f5a111f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rewrite/rewrite/python/format/spaces_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,6 @@ def visit_comprehension_clause(self, clause: ComprehensionExpression.Clause, p:
# Ensure single space before 'for' keyword
cc = space_before(cc, True)

# Space around iterator variable and after 'in' keyword e.g. for i in range(10) <-> ...for i in range(10)

# Single before 'in' keyword e.g. ..i in... <-> ...i in...
cc = cc.padding.with_iterated_list(space_before_left_padded(cc.padding.iterated_list, True))
# Single space before 'iterator' variable (or after for keyword) e.g. ...for i <-> ...for i
Expand Down

0 comments on commit f5a111f

Please sign in to comment.