AltimateAI / AltimateAI/altimate-code

[FEATURE]: discover dbt utilities configuration

オープン
#448 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
811
フォーク
134
平均マージ
3日 2時間
マージ済み PR(30日)
50

説明

### Feature hasn't been suggested before.

- [x] I have verified this feature I'm about to request hasn't been suggested before.

### Describe the enhancement you want to request

When running `/discover` it would be awesome if it automatically detects in your project that you use [SQLFluff](https://github.com/sqlfluff/sqlfluff), [dbt-osmosis](https://github.com/z3z1ma/dbt-osmosis) and/or [pre-commit](https://github.com/pre-commit/pre-commit) and uses this to guide the model to adhere to these standards.

For SQLFluff the configuration of how you want your `.sql` files to be formatted is already defined within your project.

For the `.yaml` files we use dbt-osmosis commands to format the yaml files in alphabetical order.

Besides from how we format our files we also run additional checks in CI, when making changes it would be really nice if tool could also use the pre-commit hooks to verify that the changes that are made by it is in line with our project.

My alternative now was to use `/train` to give all this context to the model so that it conforms to it, this seems to be working for a bit. But not as much as I had hoped for.

Perhaps we can enhance altimate-code by making these dbt utilities an integrated part of the tool to adhere to already defined project standards

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。