[Concept,11/11] buildman: Fix return type documentation in builderthread.py
Commit Message
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(-)
@@ -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.