About Formatting Lists of Arguments with Black
If you end a list of arguments with a comma and then reformat your code with Black, your arguments will be listed one-per-line.
form = MyForm(data=request.POST, files=request.FILES,)
will become:
form = MyForm(
data=request.POST,
files=request.FILES,
)
That's useful to know for consistent representation of function calls, method calls, and class initializations.
Also by me
Django Messaging 🎅🏼
For Django-based social platforms.
Django App for You
Django Paddle Subscriptions 🎅🏼
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent 🎅🏼
For Django websites that use cookies.
Django App for You