Skip to content

Commit d0a46eb

Browse files
committed
Adjust formatting
1 parent f26dba6 commit d0a46eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

misc/scripts/generate-csv-coverage-report.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def __init__(self, lang, capitalized_lang, ext, ql_path):
229229
"`" + framework + " <" + frameworks[framework]["url"] + ">`_")
230230

231231
# Add the package name to the row
232-
row.append(frameworks[framework]["package"])
232+
row.append("``" + frameworks[framework]["package"] + "``")
233233

234234
prefix = frameworks[framework]["package"]
235235

@@ -254,7 +254,8 @@ def collect_others(): return collect_package_stats(
254254
row, other_packages = add_package_stats_to_row(
255255
row, sorted(cwes), collect_others)
256256

257-
row[1] = ", ".join(sorted(other_packages))
257+
row[1] = ", ".join("``{0}``".format(p)
258+
for p in sorted(other_packages))
258259

259260
csvwriter.writerow(row)
260261

0 commit comments

Comments
 (0)