Django DEP 0008 Formatting Code with Black

Abstract

This DEP proposes to enforce code formatting with Black in Django.

Specification

All Python code in Django is formatted with Black , using its default settings, that is, 88 characters per line and double quotes.

Official Django projects are encouraged to adopt the same policy. Some already do, for example channels and asgiref .