Skip to content

Commit ee7f53a

Browse files
author
Leo Folsom
authored
standardize yml indentation under the 'models:' line on the README (#613)
1 parent ae6e1b4 commit ee7f53a

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,17 @@ This macro can also be used at the column level. When this is done, the `express
163163
```yaml
164164
version: 2
165165
models:
166-
- name: model_name
167-
columns:
168-
- name: col_a
169-
tests:
170-
- dbt_utils.expression_is_true:
171-
expression: '>= 1'
172-
- name: col_b
173-
tests:
174-
- dbt_utils.expression_is_true:
175-
expression: '= 1'
176-
condition: col_a = 1
166+
- name: model_name
167+
columns:
168+
- name: col_a
169+
tests:
170+
- dbt_utils.expression_is_true:
171+
expression: '>= 1'
172+
- name: col_b
173+
tests:
174+
- dbt_utils.expression_is_true:
175+
expression: '= 1'
176+
condition: col_a = 1
177177
```
178178

179179
#### recency ([source](macros/generic_tests/recency.sql))
@@ -383,13 +383,13 @@ to the `lower_` and `upper_bound_column` arguments, like so:
383383
version: 2
384384
385385
models:
386-
- name: subscriptions
387-
tests:
388-
- dbt_utils.mutually_exclusive_ranges:
389-
lower_bound_column: coalesce(started_at, '1900-01-01')
390-
upper_bound_column: coalesce(ended_at, '2099-12-31')
391-
partition_by: customer_id
392-
gaps: allowed
386+
- name: subscriptions
387+
tests:
388+
- dbt_utils.mutually_exclusive_ranges:
389+
lower_bound_column: coalesce(started_at, '1900-01-01')
390+
upper_bound_column: coalesce(ended_at, '2099-12-31')
391+
partition_by: customer_id
392+
gaps: allowed
393393
```
394394
<details>
395395
<summary>Additional `gaps` and `zero_length_range_allowed` examples</summary>

0 commit comments

Comments
 (0)