refactor: Split kwargs out to individual lines

to make further addition/deletion cleaner.
This commit is contained in:
stvn
2021-04-07 11:43:11 -07:00
parent 83c93973b0
commit d884967e2c

View File

@@ -195,7 +195,10 @@ class DiscussionsConfiguration(TimeStampedModel):
try:
configuration = cls.objects.get(context_key=context_key)
except cls.DoesNotExist:
configuration = cls(context_key=context_key, enabled=False)
configuration = cls(
context_key=context_key,
enabled=False,
)
return configuration
# pylint: enable=undefined-variable