-
Notifications
You must be signed in to change notification settings - Fork 0
Remove ceda_usa folder #72
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
base: main
Are you sure you want to change the base?
Conversation
| uses: ./.github/actions/setup-python | ||
|
|
||
| - name: Typecheck w/ mypy | ||
| run: uv run mypy bedrock/ceda_usa |
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.
@cclin130 since I'm removing the entire ceda_usa folder, so here I changed it to /extract/iot. LMK if this looks wrong to you.
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.
we should run mypy on the whole repo, but types havent been set up yet for all of bedrock I believe. Perhaps we could make this uv run mypy bedrock but then add a line to exclude some directories for now in pyproject.toml
cc @bl-young
cclin130
left a comment
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.
one change for ci.yml
| uses: ./.github/actions/setup-python | ||
|
|
||
| - name: Typecheck w/ mypy | ||
| run: uv run mypy bedrock/ceda_usa |
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.
we should run mypy on the whole repo, but types havent been set up yet for all of bedrock I believe. Perhaps we could make this uv run mypy bedrock but then add a line to exclude some directories for now in pyproject.toml
cc @bl-young
7ec9ac2 to
1f4ff37
Compare
|
|
||
| - name: Typecheck w/ mypy | ||
| run: uv run mypy bedrock/ceda_usa | ||
| run: uv run mypy bedrock |
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.
mypy on entire codebase
| 'bedrock/transform/', | ||
| 'bedrock/utils/', | ||
| 'bedrock/publish/', | ||
| ] |
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.
temporary exclusions
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.
this is effectively ignoring all of the CEDA code as well, right? does it need to be so exhaustive?
and what do we have in /utils/ and /publish that are failing type check right now?
i would like us to avoid putting the typecheck here and never fixing it, because it will render typecheck useless
cc @bl-young since I know this is on your radar
| "google.*", | ||
| "googleapiclient.*", | ||
| ] | ||
| ignore_missing_imports = true |
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.
moved .mypy.ini here
|
r? @cclin130 |
cclin130
left a comment
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.
approving to unblock but i'd recommend getting typecheck to work across the whole codebase
| 'bedrock/transform/', | ||
| 'bedrock/utils/', | ||
| 'bedrock/publish/', | ||
| ] |
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.
this is effectively ignoring all of the CEDA code as well, right? does it need to be so exhaustive?
and what do we have in /utils/ and /publish that are failing type check right now?
i would like us to avoid putting the typecheck here and never fixing it, because it will render typecheck useless
cc @bl-young since I know this is on your radar

cc:
What changed? Why?
Removed the
ceda_usapackage from thebedrockdirectory, which should've been removed long time ago.Testing
confirming no one imports from
bedrock.ceda_usa