From 752126d490debb6c8d02b7a3041f06d919ab1d09 Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Sun, 18 Jan 2026 16:58:03 +0000 Subject: [PATCH] black format with 26.1.0 Signed-off-by: Matt Liberty --- flow/util/appendStatsToDb.py | 1 - flow/util/genMassive.py | 1 - flow/util/genReport.py | 1 + flow/util/plot_congestion.py | 1 - tools/AutoTuner/src/autotuner/distributed.py | 2 +- 5 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flow/util/appendStatsToDb.py b/flow/util/appendStatsToDb.py index a4ef3da524..dbf73ac177 100755 --- a/flow/util/appendStatsToDb.py +++ b/flow/util/appendStatsToDb.py @@ -14,7 +14,6 @@ import uuid from collections import OrderedDict - # Parse and validate arguments # ============================================================================== parser = argparse.ArgumentParser(description="Appends test metadata to master database") diff --git a/flow/util/genMassive.py b/flow/util/genMassive.py index c05da0926e..14260a48b0 100644 --- a/flow/util/genMassive.py +++ b/flow/util/genMassive.py @@ -11,7 +11,6 @@ import itertools import glob - PUBLIC = ["nangate45", "sky130hd", "sky130hs", "asap7"] # The number of generated config files into diff --git a/flow/util/genReport.py b/flow/util/genReport.py index 402c0efde4..f08fdd20e6 100755 --- a/flow/util/genReport.py +++ b/flow/util/genReport.py @@ -2,6 +2,7 @@ """ Generate reports from current logs """ + import argparse import os import re diff --git a/flow/util/plot_congestion.py b/flow/util/plot_congestion.py index da6ce3056b..dfa0e600a1 100644 --- a/flow/util/plot_congestion.py +++ b/flow/util/plot_congestion.py @@ -4,7 +4,6 @@ import re import os - sweep = sys.argv[1] output = sys.argv[2] remainder = sys.argv[3:] diff --git a/tools/AutoTuner/src/autotuner/distributed.py b/tools/AutoTuner/src/autotuner/distributed.py index c5b07dc74c..f49f9b6451 100644 --- a/tools/AutoTuner/src/autotuner/distributed.py +++ b/tools/AutoTuner/src/autotuner/distributed.py @@ -154,7 +154,7 @@ def step(self): install_path=INSTALL_PATH, ) self.step_ += 1 - (score, effective_clk_period, num_drc, die_area) = self.evaluate( + score, effective_clk_period, num_drc, die_area = self.evaluate( read_metrics(metrics_file, args.stop_stage) ) # Feed the score back to Tune.