Skip to content

Commit 5596abc

Browse files
committed
Fix flake8 check for python3.5
1 parent 21f5255 commit 5596abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/button_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, irq_name: str):
3333
self.irq_name = irq_name
3434
# It maps each IRQ number to its list of target CPUs.
3535
# Example: {35: [0, 1], 36: [2, 3]}
36-
self.irq_numbers: Dict[int, List[int]] = {}
36+
self.irq_numbers = {} # type: Dict[int, List[int]]
3737
self.num_cpus = os.cpu_count()
3838

3939
def _get_irq_numbers(self) -> bool:
@@ -176,7 +176,7 @@ def run_test(self) -> bool:
176176
raise RuntimeError("Could not get CPU affinities for all IRQs.")
177177

178178
# Store initial counts for all monitored IRQs
179-
initial_counts_map: Dict[int, List[int]] = {}
179+
initial_counts_map = {} # type: Dict[int, List[int]]
180180
for irq in self.irq_numbers:
181181
counts = self._get_interrupt_counts(irq)
182182
if counts is None:

0 commit comments

Comments
 (0)