Skip to content

Commit 8557946

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3f9f56b commit 8557946

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

migration_fixer/management/commands/makemigrations.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,11 @@ def handle(self, *app_labels, **options):
256256
start_name=conflict_base,
257257
changed_files=sorted_changed_files,
258258
writer=(
259-
lambda m: self.stdout.write(m)
260-
if self.verbosity >= 2
261-
else lambda x: x
259+
lambda m: (
260+
self.stdout.write(m)
261+
if self.verbosity >= 2
262+
else lambda x: x
263+
)
262264
),
263265
)
264266
else: # pragma: no cover

0 commit comments

Comments
 (0)