How to set up Black to automatically format your Django project Black is an auto-formatter for Python projects. It can be configured to automatically format your code when you save your files. This means you will