Apply suggestions from code review

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Roy Nieterau 2024-09-18 00:48:44 +02:00 committed by GitHub
parent 9c3194c38a
commit c2cfef7703
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -198,8 +198,8 @@ class ExtractBurnin(publish.Extractor):
)
if not burnins_per_repres:
self.log.debug(
"Skipped instance. No representations found matching a burnin "
"definition in: %s", burnin_defs
"Skipped instance. No representations found matching a burnin"
" definition in: %s", burnin_defs
)
return
@ -424,6 +424,7 @@ class ExtractBurnin(publish.Extractor):
Returns:
dict[str, Any]: Burnin options.
"""
# Prepare burnin options
burnin_options = copy.deepcopy(self.default_options)
@ -761,6 +762,7 @@ class ExtractBurnin(publish.Extractor):
Returns:
list[dict[str, Any]]: Contain all valid output definitions.
"""
filtered_burnin_defs = []