You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I added an analysis file accompanied by a yaml file with a description, check-model-has-description still fails, saying it doesn't have a description.
This can be fixed by either excluding analyses from this check or correctly looking for analysis descriptions.
To Reproduce
Steps to reproduce the behavior:
Install codegen with dbt deps
Create a sql file in the analyses folder, and a yaml file with a description
# generate_model_yaml.ymlversion: 2analyses:
- name: generate_model_yamldescription: > This analyses generates the input necessary for a .yml file, by adding the model name without extensions and then hit compile. The output can then be copied and pasted into the designated yml file.
# .pre-commit-config.yaml
- repo: https://github.com/Montreal-Analytics/dbt-glossrev: v1.0.0hooks:
- id: dbt-deps
- id: dbt-compile
- id: dbt-run
- id: dbt-docs-generate# Check the model has description.
- id: check-model-has-description
Expected behavior
I expect check to pass
Version:
v1.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When I added an analysis file accompanied by a yaml file with a description, check-model-has-description still fails, saying it doesn't have a description.
This can be fixed by either excluding analyses from this check or correctly looking for analysis descriptions.
To Reproduce
Steps to reproduce the behavior:
dbt deps
Expected behavior
I expect check to pass
Version:
v1.0.0
The text was updated successfully, but these errors were encountered: