File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 69
69
"""
70
70
71
71
def mcu_ide_list ():
72
- """Shows list of exportable ides
72
+ """Shows list of exportable ides
73
73
74
74
"""
75
75
supported_ides = sorted (EXPORTERS .keys ())
@@ -84,10 +84,10 @@ def mcu_ide_matrix(verbose_html=False):
84
84
"""
85
85
supported_ides = sorted (EXPORTERS .keys ())
86
86
# Only use it in this function so building works without extra modules
87
- from prettytable import PrettyTable , ALL
87
+ from prettytable import PrettyTable , HEADER
88
88
89
89
# All tests status table print
90
- table_printer = PrettyTable (["Platform" ] + supported_ides )
90
+ table_printer = PrettyTable (["Platform" ] + supported_ides , junction_char = "|" , hrules = HEADER )
91
91
# Align table
92
92
for col in supported_ides :
93
93
table_printer .align [col ] = "c"
@@ -107,15 +107,12 @@ def mcu_ide_matrix(verbose_html=False):
107
107
row .append (text )
108
108
table_printer .add_row (row )
109
109
110
- table_printer .border = True
111
- table_printer .vrules = ALL
112
- table_printer .hrules = ALL
113
110
# creates a html page in a shorter format suitable for readme.md
114
111
if verbose_html :
115
112
result = table_printer .get_html_string ()
116
113
else :
117
114
result = table_printer .get_string ()
118
- result += "\n "
115
+ result += "\n \n "
119
116
result += "Total IDEs: %d\n " % (len (supported_ides ))
120
117
if verbose_html :
121
118
result += "<br>"
You can’t perform that action at this time.
0 commit comments