Will it be possible to run dbt-gloss without a precommit ?
Opened this issue · 1 comments
didia commented
Hello, I like dbt-gloss but because of an issue with pre-commit (No great support for mono-repo), I am unable to use it.
Will it be possible to run dbt-gloss without using it as a standalone linter ?
Thank you for maintaining the library.
MartinGuindon commented
Hello @didia ,
We'd like to implement a way to run the tool without pre-commit (like sqlfluff), but it might take some time.
Why aren't you able to use it in a mono repo? Pre-commit has built-in support to scope hooks only for certain paths/files. For example, if your dbt project is nested under the analytics/transform/dbt
directories, for each hook you could define the files
with the following regex:
- id: check-script-has-no-table-name
files: ^analytics/transform/dbt/.*