Django DEP 0008 Formatting Code with Black


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


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 .