-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent syntax errors when line-wrapping comprehensions
Ignores block keywords inside parentheses/braces/brackets, allowing list/set/dict comprehensions to be wrapped in the same way as dicts. Does not check for correctly paired parentheses - we can let python do that, right? Builds upon cleanup made in #689
- Loading branch information
1 parent
ef0623c
commit 1f6fda6
Showing
2 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters