Make an output of print_summary more readable
This commit is contained in:
1 parent
41a5dc731b
commit
7b14fd5292
1 file changed
+8
-6
@@ -242,14 +242,16 @@ class MigrationLinter(object):
|
||||
print(warn_str)
|
||||
|
||||
def print_summary(self):
|
||||
print("*** Summary:")
|
||||
print("")
|
||||
print("*** Summary ***")
|
||||
print(
|
||||
(
|
||||
"Valid migrations: {1}/{0} - "
|
||||
"erroneous migrations: {2}/{0} - "
|
||||
"migrations with warnings: {3}/{0} - "
|
||||
"ignored migrations: {4}/{0}"
|
||||
).format(
|
||||
"Valid migrations: {1}/{0} \n"
|
||||
"Erroneous migrations: {2}/{0} \n"
|
||||
"Migrations with warnings: {3}/{0} \n"
|
||||
"Ignored migrations: {4}/{0}"
|
||||
)
|
||||
.format(
|
||||
self.nb_total,
|
||||
self.nb_valid,
|
||||
self.nb_erroneous,
|
||||
|
||||
Reference in new issue
Block a user