[Numpy-discussion] Re: Code formatters

2021-11-18 Thread Stefan van der Walt
On Thu, Nov 18, 2021, at 09:51, Sebastian Berg wrote: > Git can even mark commits as "only style fixups" I think to hide them > from `git blame` and following history has never bothered me too much; > the only thing that seems tricky there is when functionality is moved > between files. > The main

[Numpy-discussion] Re: Code formatters

2021-11-18 Thread Sebastian Berg
On Thu, 2021-11-18 at 09:41 -0800, Chris Barker wrote: > This read by the Author of Black may be helpful. > > https://lukasz.langa.pl/36380f86-6d28-4a55-962e-91c2c959db7a/ > > Whether you use Black or a configured YAPF, or I think the > discussion > of "all in one go" is worth thinking about

[Numpy-discussion] Re: Putting in `np.ma.ndenumerate` MaskedArray specific ndenumerate

2021-11-18 Thread Jouke Witteveen
On Wed, Nov 17, 2021 at 7:51 PM Andras Deak wrote: > > On Wed, Nov 17, 2021 at 7:39 PM Sebastian Berg > wrote: >> >> Hi all, >> >> the `np.ndenumerate` does not work well for masked arrays (like many >> main namespace functions, it simply ignores/drops the mask). >> >> There is a PR (https://git