mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
fix formatting
This commit is contained in:
+3
-1
@@ -262,7 +262,9 @@ def _description(message, exception):
|
||||
elif message:
|
||||
description = "{message}"
|
||||
else:
|
||||
raise DvcException('Unexpected error - either exception or message must be provided')
|
||||
raise DvcException(
|
||||
"Unexpected error - either exception or message must be provided"
|
||||
)
|
||||
|
||||
return description.format(message=message, exception=exception)
|
||||
|
||||
|
||||
+3
-1
@@ -375,7 +375,9 @@ class Stage(object):
|
||||
stage = Stage(project=project, cwd=cwd, cmd=cmd, locked=locked)
|
||||
|
||||
stage.outs = output.loads_from(stage, outs, use_cache=True)
|
||||
stage.outs = output.loads_from(stage, metrics, use_cache=True, metric=True)
|
||||
stage.outs += output.loads_from(
|
||||
stage, metrics, use_cache=True, metric=True
|
||||
)
|
||||
stage.outs += output.loads_from(stage, outs_no_cache, use_cache=False)
|
||||
stage.outs += output.loads_from(
|
||||
stage, metrics_no_cache, use_cache=False, metric=True
|
||||
|
||||
Reference in New Issue
Block a user