PicnicSupermarket / dbt-score

Linter for dbt metadata
https://dbt-score.picnic.tech
MIT License
59 stars 5 forks source link

Fix path in rule discovery #42

Closed jochemvandooren closed 3 weeks ago

jochemvandooren commented 3 weeks ago

By default, inject the current working directory into the python path.

This ensures that rules can be discovered properly when running dbt-score from CLI. When dbt-score is invoked by running .e.g python -m dbt_score, the path is added already. Running dbt-score however, did not include the path.