Django: Reformatted code with Black
github.com
Django: Reformatted code with Black
1–10 of 256 posts
Re: Django: Reformatted code with Black
#2Re: Django: Reformatted code with Black
#3Re: Django: Reformatted code with Black
#4So now when you look at the annotated change history all you're going to see is a bunch of changes by the person that reformatted the code instead of the person that wrote it.
Re: Django: Reformatted code with Black
#5So now when you look at the annotated change history all you're going to see is a bunch of changes by the person that reformatted the code instead of the person that wrote it.
Re: Django: Reformatted code with Black
#6So now when you look at the annotated change history all you're going to see is a bunch of changes by the person that reformatted the code instead of the person that wrote it.
[1] https://github.com/django/django/pull/15387#issuecomment-103...
Re: Django: Reformatted code with Black
#7The output does look better but this also just looks like every PR for applying a linter / formatter I've ever seen. Not sure why this is news worthy.
Re: Django: Reformatted code with Black
#8So now when you look at the annotated change history all you're going to see is a bunch of changes by the person that reformatted the code instead of the person that wrote it.
Re: Django: Reformatted code with Black
#9This was finally merged to the main branch today [2].
I suspect there are lots of other both open source and private projects that are also making the change now. This is a show of confidence in Black as the standard code formatter for Python.
0: https://github.com/django/deps/blob/main/accepted/0008-black...
Re: Django: Reformatted code with Black
#10The output does look better but this also just looks like every PR for applying a linter / formatter I've ever seen. Not sure why this is news worthy.