
From: Simon Glass <sjg@chromium.org> There are quite a few warnings which makes it confusing when editing this file. Resolve the easy ones, leaving: 125:0: R0902: Too many instance attributes (14/7) (too-many-instance-attributes) 212:4: R0912: Too many branches (14/12) (too-many-branches) 271:4: R0913: Too many arguments (6/5) (too-many-arguments) 271:4: R0912: Too many branches (13/12) (too-many-branches) 454:8: W0702: No exception type(s) specified (bare-except) 531:8: W0702: No exception type(s) specified (bare-except) Rename wait_for_boot_prompt() so it is clear that it is an internal function. Signed-off-by: Simon Glass <sjg@chromium.org> --- test/py/console_board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/console_board.py b/test/py/console_board.py index bacb1e2526c..c6d5e333f03 100644 --- a/test/py/console_board.py +++ b/test/py/console_board.py @@ -34,7 +34,7 @@ class ConsoleExecAttach(ConsoleBase): # 1 would be safe anywhere, but is very slow (a pexpect issue?). # 16 is a common FIFO size. # HW flow control would mean this could be infinite. - super(ConsoleExecAttach, self).__init__(log, config, max_fifo_fill=16) + super().__init__(log, config, max_fifo_fill=16) with self.log.section('flash'): self.log.action('Flashing U-Boot') -- 2.43.0