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 running check-script-ref-and-source on a model containing a comment which itself contains a ref the pre-commit will check if this referenced model exists. If it's in a comment it should disregard that model.
To Reproduce
-- In the future this will be {{ ref('future_model') }}select*from {{ ref('current_model') }}
Describe the bug
When running check-script-ref-and-source on a model containing a comment which itself contains a ref the pre-commit will check if this referenced model exists. If it's in a comment it should disregard that model.
To Reproduce
Fails with:
- hook id: check-script-ref-and-source - exit code: 1 Missing model (ref) future_model
Expected behavior
Any ref in comment should be disregarded by check-script-ref-and-source.
Version:
v1.2.0
The text was updated successfully, but these errors were encountered: