Skip to content

Commit c788380

Browse files
pablukalecthomas
authored andcommitted
Minor code formatting changes using Black
Replace single by double quotes to keep consistency.
1 parent eb0e31f commit c788380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: table.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from collections import defaultdict
33
from subprocess import check_output
44

5-
lines = check_output(["go", "run", "./cmd/chroma/main.go", "--list"]).decode('utf-8').splitlines()
5+
lines = check_output(["go", "run", "./cmd/chroma/main.go", "--list"]).decode("utf-8").splitlines()
66
lines = [line.strip() for line in lines if line.startswith(" ") and not line.startswith(" ")]
77
lines = sorted(lines, key=lambda l: l.lower())
88

@@ -12,4 +12,4 @@
1212
table[line[0].upper()].append(line)
1313

1414
for key, value in table.items():
15-
print("{} | {}".format(key, ', '.join(value)))
15+
print("{} | {}".format(key, ", ".join(value)))

0 commit comments

Comments
 (0)