diff --git a/core/dbt/task/run.py b/core/dbt/task/run.py index 11db9666c41..b95b1abfdf0 100644 --- a/core/dbt/task/run.py +++ b/core/dbt/task/run.py @@ -236,8 +236,7 @@ def _materialization_relations(self, result: Any, model) -> List[BaseRelation]: if isinstance(result, str): msg = ( 'The materialization ("{}") did not explicitly return a ' - 'list of relations to add to the cache.' - .format(str(model.get_materialization())) + "list of relations to add to the cache.".format(str(model.get_materialization())) ) raise CompilationException(msg, node=model)