Split before function call in list
If the whole list cannot fit on a single line, then split before a function
call. This prevents things like this:
def foo():
return [
Bar(
xxx='some string',
yyy='another long string',
zzz='a third long string'), Bar(
xxx='some string',
yyy='another long string',
zzz='a third long string')
]
diff --git a/CHANGELOG b/CHANGELOG
index 5507ba0..4db4add 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -10,6 +10,8 @@
- Increase penalty for excess characters.
- Check that we have enough children before trying to access them all.
- Remove trailing whitespaces from comments.
+- Split before a function call in a list if the full list isn't able to fit on
+ a single line.
## [0.16.1] 2017-03-22
### Changed