forked from bottlepy/bottle
-
Notifications
You must be signed in to change notification settings - Fork 0
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 bottlepy#689
- Loading branch information
1 parent
db0262e
commit 8a5bfe2
Showing
2 changed files
with
33 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