[scikit-learn] Experience with black formatting in scikit-learn for astropy

Tom Aldcroft taldcroft at gmail.com
Thu May 19 09:02:23 EDT 2022


Thanks Guillaume and Olivier for the quick feedback. There are enough
people on the fence in astropy that information like this is quite
valuable. If anyone is interested, here is the monster thread. ;-)

https://groups.google.com/g/astropy-dev/c/6cRJCMgaFyM

Best,
Tom


On Thu, May 19, 2022 at 7:51 AM Olivier Grisel <olivier.grisel at ensta.org>
wrote:

> I agree with Guillaume's answers.
>
> I think it was a net benefit, even though it might be a bit annoying
> to get the tooling right for first time contributors. We can probably
> improve this by making the error messages on the CI more directive on
> how to fix formatting issues by given copy-pastable commands to
> install and run black in your branch.
>
> Otherwise, I really like just pressing shift-ctrl-i to fix the
> formatting when editing code in VS Code.
>
> --
> Olivier
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20220519/292ad0ee/attachment-0001.html>


More information about the scikit-learn mailing list