Skip to content

Commit db6617f

Browse files
committed
fix(formatting): Fix python script formatting
1 parent fbc1ae5 commit db6617f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: tests/performance/psramspeed/test_psramspeed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_psramspeed(dut, request):
7474
sums[(test, size, impl)]["time_sum"] += time
7575

7676
avg_results = {}
77-
for (test, size, impl) in sums:
77+
for test, size, impl in sums:
7878
rate_avg = round(sums[(test, size, impl)]["rate_sum"] / runs, 2)
7979
time_avg = round(sums[(test, size, impl)]["time_sum"] / runs, 2)
8080
LOGGER.info(

Diff for: tests/performance/ramspeed/test_ramspeed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_ramspeed(dut, request):
7474
sums[(test, size, impl)]["time_sum"] += time
7575

7676
avg_results = {}
77-
for (test, size, impl) in sums:
77+
for test, size, impl in sums:
7878
rate_avg = round(sums[(test, size, impl)]["rate_sum"] / runs, 2)
7979
time_avg = round(sums[(test, size, impl)]["time_sum"] / runs, 2)
8080
LOGGER.info(

Diff for: tools/gen_esp32part.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def to_binary(self):
529529
def to_csv(self, simple_formatting=False):
530530
def addr_format(a, include_sizes):
531531
if not simple_formatting and include_sizes:
532-
for (val, suffix) in [(0x100000, "M"), (0x400, "K")]:
532+
for val, suffix in [(0x100000, "M"), (0x400, "K")]:
533533
if a % val == 0:
534534
return "%d%s" % (a // val, suffix)
535535
return "0x%x" % a

0 commit comments

Comments
 (0)