You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
black expands brackets into multiple lines, where this:
raiseValidationError({
NON_FIELD_ERRORS: [_("Don't do that!")],
})
raiseValidationError(
{
NON_FIELD_ERRORS: [_("Don't do that!")],
}
)
The coalesced bracket version is much to be preferred in my opinion. It would be great to have a configuration option to coalesce rather than expand brackets.
The text was updated successfully, but these errors were encountered:
black
expands brackets into multiple lines, where this:The coalesced bracket version is much to be preferred in my opinion. It would be great to have a configuration option to coalesce rather than expand brackets.
The text was updated successfully, but these errors were encountered: