[Numpy-discussion] Re: Automatic formatters for only changed lines

2022-05-07 Thread Juan Nunez-Iglesias
With the caveat that I am just an interested bystander, I would like to point back to yapf as an alternative. I agree with what has already been echoed by the majority of the community, that setting *some* auto-formatter is a huge benefit for both review and writing sanity. I very much disagree

[Numpy-discussion] Re: Automatic formatters for only changed lines

2022-05-07 Thread Peter Cock
On Fri, May 6, 2022 at 4:59 PM Charles R Harris wrote: > > Heh. I think automatic formatting is the future and was happy to see the > PR. The only question is if black is the way we want to go. IIRC, the main > sticking points were > >- Line length (<= 79). >- Quotation mark changes (nois

[Numpy-discussion] Re: ndarray repr - put shape & type first

2022-05-07 Thread Andras Deak
On Sat, May 7, 2022, at 11:36, Ilya Kamenshchikov wrote: > Hello, > > I wanted to discuss a pain point I've experienced while debugging numpy > code. When dealing with e.g. transformed image arrays or other > non-trivial ndarrays in debugger, I'm swamped by a bunch of numbers in > their repr tha

[Numpy-discussion] ndarray repr - put shape & type first

2022-05-07 Thread Ilya Kamenshchikov
Hello, I wanted to discuss a pain point I've experienced while debugging numpy code. When dealing with e.g. transformed image arrays or other non-trivial ndarrays in debugger, I'm swamped by a bunch of numbers in their repr that don't help me at all. What I really care about is *shape and dtype*,