Add type hint checking with mypy#460
Merged
dstansby merged 12 commits intozarr-developers:mainfrom Nov 12, 2024
dstansby:typing-errors
Merged
Add type hint checking with mypy#460dstansby merged 12 commits intozarr-developers:mainfrom dstansby:typing-errors
dstansby merged 12 commits intozarr-developers:mainfrom
dstansby:typing-errors
Conversation
|
Hello @dstansby! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-05-07 11:58:59 UTC |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #460 +/- ##
==========================================
- Coverage 99.92% 99.81% -0.12%
==========================================
Files 62 62
Lines 2692 2712 +20
==========================================
+ Hits 2690 2707 +17
- Misses 2 5 +3
|
Contributor
Author
|
Since this has been floating around with no objections for a while now, I propose to self-merge after #524 is merged, unless anyone objects. |
d-v-b
approved these changes
Oct 28, 2024
Contributor
Author
|
@normanrz I had to fix some typing in the |
Merged
normanrz
reviewed
Nov 11, 2024
normanrz
approved these changes
Nov 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a starting point to work towards #443. It:
mypypre-commit-config.yamlto run the type checking usingpre-commit.mypyat least passes on the current code base.TODO: