commit | 3a0f6e76a1e0d8c960264c998073dd5ba9a1c004 | [log] [tgz] |
---|---|---|
author | Matthew Suozzo <msuozzo@google.com> | Wed Nov 01 17:40:57 2017 -0400 |
committer | Matthew Suozzo <msuozzo@google.com> | Wed Nov 01 17:40:57 2017 -0400 |
tree | 8e35ddef8f67dbf44737d414d21795d72447c411 | |
parent | 4a3b633302e6ae99f0e539fbde5d067c71fc0d56 [diff] |
Add `SPLIT_PENALTY_COMPREHENSION` flag. Also: Remove the coarse flag on the comprehension state calculation and make the flags determine whether/which penalties are added. I've set the new flag's value to 2100 for Google as that seems to be a pretty strong bias towards keeping everything on the same line (but not too strong that it upsets common cases). 80 might be too high for PEP8 but I think 0 penalty results in some pretty lousy formatting.