isort 5 splits "as" imports onto new lines #1305
Labels
accepted_next_major
Accepted for next major release
documentation
Improvements or additions to documentation
question
Further information is requested
One line I end up writing in a lot of scripts is
and both
black
andisort
4 are happy with this. However, isort 5 prefers to split it onto multiple lines:which I don't like so much, but 🤷♂️. However, if you have a longer list of imported names or turn down the line length, it looks really weird indeed:
Maybe there's just a setting that I (or isort) could add to
--profile=black
, because the first form is definitely my favorite.The text was updated successfully, but these errors were encountered: