Skip to content

Commit ec7e474

Browse files
authored
Merge pull request #1287 from tier4/h-ohta-patch-1
fix: fix pre-commit
2 parents 6bbb1cc + d8a02d8 commit ec7e474

File tree

2 files changed

+2
-2
lines changed
  • planning/planning_debug_tools/scripts/perception_replayer
  • system/diagnostic_graph_aggregator/script

2 files changed

+2
-2
lines changed

planning/planning_debug_tools/scripts/perception_replayer/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def toc(self, name):
146146
time.perf_counter() - self.start_times[name]
147147
) * 1000 # Convert to milliseconds
148148
if self.verbose:
149-
print(f"Time for {name}: {elapsed_time:.2f} ms")
149+
print(f"Time for {name}: {elapsed_time: .2f} ms")
150150

151151
# Reset the starting time for the name
152152
del self.start_times[name]

system/diagnostic_graph_aggregator/script/dump.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def print_table(lines: list, header: list):
3131
lines.insert(0, ["-" * w for w in widths])
3232
lines.insert(2, ["-" * w for w in widths])
3333
for line in lines:
34-
line = map(lambda v, w: f"{v:{w}}", line, widths)
34+
line = map(lambda v, w: f"{v: {w}}", line, widths)
3535
line = " | ".join(line)
3636
print(f"| {line} |")
3737

0 commit comments

Comments
 (0)