From 4baed2493d2f87e429067e5c2b738812944b5cbc Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Mon, 12 Feb 2024 18:17:47 +0100 Subject: [PATCH] Fix linting --- util/sim/Simulation.py | 1 + util/sim/sim_utils.py | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/util/sim/Simulation.py b/util/sim/Simulation.py index 7de22e49a3..9261e4614d 100644 --- a/util/sim/Simulation.py +++ b/util/sim/Simulation.py @@ -273,6 +273,7 @@ def get_cpu_time(self): seconds = float(match.group(1)) return seconds + class BansheeSimulation(Simulation): """A simulation running on Banshee. diff --git a/util/sim/sim_utils.py b/util/sim/sim_utils.py index 8e916b08c3..740fd18175 100755 --- a/util/sim/sim_utils.py +++ b/util/sim/sim_utils.py @@ -48,7 +48,6 @@ """ import argparse -from termcolor import colored, cprint from pathlib import Path import os import time @@ -223,11 +222,11 @@ def dump_report(sims, path=None): sims: A list of simulations from the simulation suite. """ data = [{'elf': sim.elf, - 'launched': sim.launched(), - 'completed': sim.completed(), - 'passed': sim.successful(), - 'CPU time [s]': sim.get_cpu_time(), - 'simulation time [ns]': sim.get_simulation_time()} for sim in sims] + 'launched': sim.launched(), + 'completed': sim.completed(), + 'passed': sim.successful(), + 'CPU time [s]': sim.get_cpu_time(), + 'simulation time [ns]': sim.get_simulation_time()} for sim in sims] df = pd.DataFrame(data) df = df.set_index('elf') if path is None: