-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add medals to scoring #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
@matthieucan Do you think we should also add the configuration options to the CLI? |
I don't think so, such options would be rather static, as in "for a given dbt project, all users use the same thresholds". Let's keep CLI options for things that are likely changing across different runs? |
Ok makes sense, I think it would be a little bit too much indeed 👍 |
a98c6ee
to
32f4f68
Compare
docs/configuration.md
Outdated
[tool.dbt-score.badges] | ||
first.threshold = 9.5 | ||
first.icon = "1️⃣" | ||
second.threshold = 7.5 | ||
second.icon = "2️⃣" | ||
third.threshold = 6.5 | ||
third.icon = "3️⃣" | ||
wip.icon = "🏗️" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this section above the rule section, and keep the default values, to avoid confusion. WDYT?
@@ -12,15 +12,16 @@ encourage) good practices. | |||
|
|||
```shell | |||
$ dbt-score lint | |||
Model customers | |||
🥇 customers (score: 10.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small phrasing suggestion, otherwise LGTM! 🚀
Co-authored-by: Matthieu Caneill <[email protected]>
Models can now receive a badge based on their score: