diff --git a/dbt_semantic_interfaces/validations/metrics.py b/dbt_semantic_interfaces/validations/metrics.py index de7719c7..5221c7af 100644 --- a/dbt_semantic_interfaces/validations/metrics.py +++ b/dbt_semantic_interfaces/validations/metrics.py @@ -181,8 +181,8 @@ def _validate_expr(metric: Metric) -> List[ValidationIssue]: file_context=FileContext.from_metadata(metadata=metric.metadata), metric=MetricModelReference(metric_name=metric.name), ), - message=f"Input metric '{name}' is not used in expr: '{metric.type_params.expr}' " - f"for derived metric '{metric.name}'. Please update the expr or remove the input metric.", + message=f"Input metric '{name}' is not used in expr: '{metric.type_params.expr}' for " + f"derived metric '{metric.name}'. Please update the expr or remove the input metric.", ) )