[Concept,11/11] buildman: Fix return type documentation in builderthread.py

Message ID 20260105183030.1487468-12-sjg@u-boot.org
State New
Headers
Series buildman: Refactor control and builderthread |

Commit Message

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

Update the return type documentation format in make() and run_commit()
to satisfy pylint's missing-return-type-doc check.

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

 tools/buildman/builderthread.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Patch

diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index bcebae5f327..dee31972e4b 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -252,7 +252,7 @@  class BuilderThread(threading.Thread):
                 command.run_one()
 
         Returns:
-            CommandResult object
+            CommandResult: Result of the make operation
         """
         return self.builder.do_make(commit, brd, stage, cwd, *args, **kwargs)
 
@@ -661,9 +661,9 @@  class BuilderThread(threading.Thread):
                 showed failure
 
         Returns:
-            tuple containing:
-                - CommandResult object containing the results of the build
-                - boolean indicating whether 'make config' is still needed
+            tuple:
+                CommandResult: Results of the build
+                bool: Indicates whether 'make config' is still needed
         """
         # Create a default result - it will be overwritte by the call to
         # self.make() below, in the event that we do a build.