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)
|
print(warn_str)
|
||||||
|
|
||||||
def print_summary(self):
|
def print_summary(self):
|
||||||
print("*** Summary:")
|
print("")
|
||||||
|
print("*** Summary ***")
|
||||||
print(
|
print(
|
||||||
(
|
(
|
||||||
"Valid migrations: {1}/{0} - "
|
"Valid migrations: {1}/{0} \n"
|
||||||
"erroneous migrations: {2}/{0} - "
|
"Erroneous migrations: {2}/{0} \n"
|
||||||
"migrations with warnings: {3}/{0} - "
|
"Migrations with warnings: {3}/{0} \n"
|
||||||
"ignored migrations: {4}/{0}"
|
"Ignored migrations: {4}/{0}"
|
||||||
).format(
|
)
|
||||||
|
.format(
|
||||||
self.nb_total,
|
self.nb_total,
|
||||||
self.nb_valid,
|
self.nb_valid,
|
||||||
self.nb_erroneous,
|
self.nb_erroneous,
|
||||||
|
|||||||
Reference in new issue
Block a user