Skip to content

Commit 2923fcd

Browse files
authored
Merge pull request #2672 from crytic/dev_myprettytable_left-aligned
Update MyPrettyTable alignment to left-align all fields by default
2 parents 3432a3e + bd05062 commit 2923fcd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

slither/utils/myprettytable.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ def __init__(
1919
self._options: Dict = {}
2020
if pretty_align:
2121
self._options["set_alignment"] = []
22-
self._options["set_alignment"] += [(field_names[0], "l")]
23-
for field_name in field_names[1:]:
24-
self._options["set_alignment"] += [(field_name, "r")]
22+
for field_name in field_names:
23+
self._options["set_alignment"] += [(field_name, "l")]
2524
else:
2625
self._options["set_alignment"] = []
2726

0 commit comments

Comments
 (0)