flake8 compliant

This commit is contained in:
brb
2023-07-13 12:13:55 +02:00
parent 7a965e5dfc
commit 4a15e9fee0
3 changed files with 7 additions and 4 deletions
+6 -1
View File
@@ -15,7 +15,12 @@ class RunnerScript(BaseModel):
content_dict = yaml.safe_load(fh)
script_list = content_dict['script'].split('\n')
logging.debug('finished')
return RunnerScript.model_validate({'script': script_list}) # type: ignore
rs = RunnerScript.model_validate( # type: ignore
{
'script': script_list
}
)
return rs
if __name__ == '__main__':