Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Indent when doing line breaks #3284
Feedback from twitter here: https://twitter.com/amuellerml/status/1060895092230291457
The latter is strongly preferred in the Python community since it is standardized in PEP8. This is also much more important than indentation after a backslash (as in the top example), which almost never happens in Python code. Adding to your example, this would also be the expected behavior:
So basically it's about how to indent after breaking inside of all kinds of brackets.