DEP 0008 (Formatting using Black) is accepted

2,128 views
Skip to first unread message

Andrew Godwin

unread,
May 10, 2019, 9:46:37 PM5/10/19
to Django developers (Contributions to Django itself)
Hi everyone,

The Technical Board has voted on DEP 0008 (https://github.com/django/deps/blob/master/accepted/0008-black.rst), after the extensive discussion here and the updates done as a result.

The board voted in favour, and so I've moved the DEP into the accepted directory.

One of the key changes to the proposal was to wait until Black got to a stable (1.0) release, so it will sit in "accepted" until that happens, at which point we will do the implementation (including the big reformat itself) and then move the DEP to "final".

There's no hard timeline on when Black will hit a stable release, but it's very close; there are a few changes we'd like to make sure are included when we reformat Django, such as keeping lists with trailing commas on multiple lines (https://github.com/python/black/pull/826). That's why we're waiting for the stable release rather than reformatting now.

Thanks to everyone who chimed in on the discussion - this was not an easy decision, and the feedback helped a lot to work out what was best for us.

I also want to personally thank Herman Schistad, for prompting this discussion, and Aymeric Augustin, for his work on writing and updating the DEP!

Yours in auto-formatting,
Andrew

Andrew Godwin

unread,
May 10, 2019, 9:53:44 PM5/10/19
to Django developers (Contributions to Django itself)
One quick clarification - when I said "stable (1.0)" release, I in fact meant the first release that the Black project officially marks as stable.

Black doesn't use versioning that would result in a stable release being called 1.0, as far as I know, given they are on 19.3b0 right now!

Andrew

Michael Martinez

unread,
May 11, 2019, 12:30:55 PM5/11/19
to Django developers (Contributions to Django itself)
I'm disappointed to learn that this was merged without a healthy debate on the deps repo. 

Tom Forbes

unread,
May 11, 2019, 1:32:08 PM5/11/19
to django-d...@googlegroups.com
There has been a particularly healthy debate on the mailing list, I think it was clear that a consensus was not going to be reached. Are there any points you wanted to bring up there that where not already made on the mailing list thread?

Tom
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/8f6f5de0-f489-4271-9c2e-af3b0a97f365%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages