-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[TIDY-FIRST] Fix isort for dbt-semantic-interfaces #10394
[TIDY-FIRST] Fix isort for dbt-semantic-interfaces #10394
Conversation
…nternal We thought we were already doing this. However, we accidentally missed the last `s` of `dbt-semantic-interfaces`, so imports from dbt-semantic-interfaces were not being identified as an internal package by isort. This fixes that.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10394 +/- ##
==========================================
- Coverage 88.83% 88.75% -0.08%
==========================================
Files 180 180
Lines 22526 22526
==========================================
- Hits 20012 19994 -18
- Misses 2514 2532 +18
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -1,4 +1,4 @@ | |||
[settings] | |||
profile=black | |||
extend_skip_glob=.github/*,third-party-stubs/*,scripts/* | |||
known_first_party=dbt,dbt_adapters,dbt_common,dbt_extractor,dbt_semantic_interface | |||
known_first_party=dbt,dbt_adapters,dbt_common,dbt_extractor,dbt_semantic_interfaces |
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.
Should snowplow_tracker
also be included here? We maintain our own fork of it (minimal-snowplow-tracker)
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.
That's a good question 🤔 I do not know. We can, but it feels in a gray area. It is a fork that we maintain, that we don't appear to sync. However, it also overrides the name space of a non-internal package. If you think it's cut and dry that it should be included, happy to make the change. However, if you also feel that it's in a gray area, maybe it warrants more discussion and shouldn't be considered blocking for this PR.
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.
After talking offline I agree we should solve this in #8409
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
Good bot |
resolves #N/A
Problem
We've been grouping internal package imports by using
isort
. However, imports fromdbt_semantic_interfaces
weren't being grouped because I typo'd it asdbt_semantic_interfaces
in the isort config.Solution
Fix the typo and rerun isort
Checklist