[Concept,22/22] buildman: Disable some final pylint warnings in test.py

Message ID 20260106142834.2511220-23-sjg@u-boot.org
State New
Headers
Series buildman: Clean up test.py for pylint compliance |

Commit Message

Simon Glass Jan. 6, 2026, 2:28 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

Also disable too-many-lines at module level, and too-many-arguments
for assert_summary() and _check_output_part2()

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 tools/buildman/test.py | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index f37f868da60..fb5dcd09555 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -4,6 +4,8 @@ 
 
 """Tests for the buildman build tool"""
 
+# pylint: disable=too-many-lines
+
 import os
 import shutil
 import sys
@@ -229,6 +231,7 @@  class TestBuildOutput(TestBuildBase):
         result.combined = result.stdout + result.stderr
         return result
 
+    # pylint: disable=too-many-arguments
     def assert_summary(self, text, arch, plus, brds, outcome=OUTCOME_ERR):
         """Check that the summary text matches expectations"""
         col = self._col
@@ -397,6 +400,7 @@  class TestBuildOutput(TestBuildBase):
         self._check_output_part2(lines, col, boards01234, boards34, boards4,
                                  filter_dtb_warnings, filter_migration_warnings)
 
+    # pylint: disable=too-many-arguments
     def _check_output_part2(self, lines, col, boards01234, boards34, boards4,
                             filter_dtb_warnings, filter_migration_warnings):
         """Check expected output from the build summary (commits 5-7)