Still with autopep8 here that I like over black for some array formatting behavior. However black really worth a try.
Black also formats list and arrays, trying render a one liner expression if shorter than line-length or else putting one element per line :
# before: numbers = [1, 2, 3 ] # after: numbers = [1, 2, 3]
It also does the same for function parameters or statements.
I perfectly know 😎
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Still with autopep8 here that I like over black for some array formatting behavior. However black really worth a try.
Black also formats list and arrays, trying render a one liner expression if shorter than line-length or else putting one element per line :
It also does the same for function parameters or statements.
I perfectly know 😎