Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup dbt-checkpoint in the repo #189

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

dcaribou
Copy link
Owner

@dcaribou dcaribou commented Aug 9, 2023

See what dbt-checkpoint is about here.

Relates to #205.

Problem → this works, when pre-commit runs it does so using the project root as its current directory, which has the effect that

  • we have to update paths to data in dbt to be relative to the project root
  • dbt artifacts are generated in the root instead of in the dbt subfolder

this is not ideal.

Update: check https://docs.sqlfmt.com/integrations/trunk as an option to deal with linters at module (sub-folder) level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant