mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-18 19:41:34 +00:00
Move datetimes into header row
This commit is contained in:
parent
cb0920e26f
commit
3ffe3eea4f
1 changed files with 2 additions and 5 deletions
|
|
@ -88,14 +88,11 @@ class ErrorCountSummary:
|
|||
],
|
||||
widths,
|
||||
)
|
||||
self._print_line(widths)
|
||||
|
||||
old_datetime = old.date_time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
new_datetime = new.date_time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
datetime_difference = str(new.date_time - old.date_time)
|
||||
self._print_row(
|
||||
["datetime", old_datetime, new_datetime, datetime_difference], widths
|
||||
)
|
||||
self._print_row(["", old_datetime, new_datetime, ""], widths)
|
||||
self._print_line(widths)
|
||||
|
||||
all_benchmark_names = list(old.error_counts.keys()) + list(
|
||||
new.error_counts.keys()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue