We format this black formatted code from django django/apps/config.py
configs = [
(name, candidate)
for name, candidate in members
if (
issubclass(candidate, cls)
and candidate is not cls
and getattr(candidate, "default", True)
)
]
as
configs = [
(name, candidate)
for name, candidate in members
if
(
issubclass(candidate, cls)
and candidate is not cls
and getattr(candidate, "default", True)
)
]
We should change our formatting to also not emit the newline before the parentheses.