chore: black

pull/1878/head
devtooligan 1 year ago
parent 3791467fb9
commit c3a674acdc
No known key found for this signature in database
GPG Key ID: A5606B287899E7FB
  1. 1
      slither/utils/myprettytable.py

@ -48,6 +48,7 @@ def make_pretty_table(headers: list, body: dict, totals: bool = False) -> MyPret
table.add_row(["Total"] + [sum([body[row][key] for row in body]) for key in headers[1:]])
return table
def transpose(table):
"""
Converts a dict of dicts to a dict of dicts with the keys transposed

Loading…
Cancel
Save