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

2022-05-08 Thread Sebastian Berg
On Sat, 2022-05-07 at 22:37 -0700, Juan Nunez-Iglesias wrote: > 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 hug

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

2022-05-08 Thread Evgeni Burovski
Mind sharing your yapf config Juan? вс, 8 мая 2022 г., 08:40 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* a

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

2022-05-08 Thread Joshua Wilson
As someone who worked on a project that used to use yapf, a word of caution - regardless of quality of formatting versus black, it generally has not had the resources to keep up with new releases of Python. See https://github.com/google/yapf/issues/772 https://github.com/google/yapf/issues/993 htt

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

2022-05-08 Thread Juan Nunez-Iglesias
On Sun, 8 May 2022, at 7:11 AM, Sebastian Berg wrote: > To be fair to black, the main issue there is the trailing `,` which > forces items to be formatted on a line each (yapf does the same). > If you remove the trailing comma, you will get close to what you want > also in black: > > custom

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

2022-05-08 Thread Charles R Harris
On Sun, May 8, 2022 at 10:30 AM Joshua Wilson wrote: > As someone who worked on a project that used to use yapf, a word of > caution - regardless of quality of formatting versus black, it generally > has not had the resources to keep up with new releases of Python. See > > https://github.com/goog

[Numpy-discussion] Documentation Team meeting - Monday May 9

2022-05-08 Thread Melissa Mendonça
Hi all! Our next Documentation Team meeting will happen on *Monday, May 9* at ***4PM UTC***. All are welcome - you don't need to already be a contributor to join. If you have questions or are curious about what we're doing, we'll be happy to meet you! If you wish to join on Zoom, use this link: