diff --git a/macros/format_float_value.sql b/macros/format_float_value.sql index 0a244def..2b9f166a 100644 --- a/macros/format_float_value.sql +++ b/macros/format_float_value.sql @@ -1,9 +1,7 @@ {% macro format_float_value(value) %} - {% if target.name != 'prod' %} - CAST({{value}} as Float32) - {% else %} - {{ value }} + {% if target.name != "prod" %} CAST({{ value }} as Float32) + {% else %} {{ value }} {% endif %} {% endmacro %} diff --git a/macros/source_for_test.sql b/macros/source_for_test.sql index 0c588a78..385e5dad 100644 --- a/macros/source_for_test.sql +++ b/macros/source_for_test.sql @@ -1,9 +1,7 @@ -{% macro source_for_test(schema,table) %} +{% macro source_for_test(schema, table) %} - {% if target.name != 'prod' %} - {{ source(target.schema,table)}} - {% else %} - {{ source(schema,table) }} + {% if target.name != "prod" %} {{ source(target.schema, table) }} + {% else %} {{ source(schema, table) }} {% endif %} {% endmacro %}