-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add numpy to the mypy pre-commit environment #20282
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e2a5bc9
Add numpy to mypy additional_dependencies in pre-commit config
vyasr 833a866
Add type annotation for UDFString.np_dtype
vyasr c0ed796
Add type annotation for ManagedUDFString.np_dtype
vyasr f78b346
Add type annotation for StringView.np_dtype
vyasr 0588aa2
Add type annotation for min_date in timezones.py
vyasr 8c17dd0
Add type annotation for np_dtypes_to_pandas_dtypes
vyasr 84bf101
Add type annotation for dtype in min_signed_type
vyasr 51fcfb4
Add type annotation for dtype in min_unsigned_type
vyasr fd10a97
Add type annotation for SUPPORTED_NUMPY_TO_PYLIBCUDF_TYPES
vyasr d23e8a1
Add type annotation for _UNDERLYING_DTYPE
vyasr 648b42d
Fix Category 3 mypy errors: union type attribute access
vyasr 9dd023e
Fix mypy error in temporal_base.py:169 - type(other)("NaT", to_unit)
vyasr 781db10
Fix mypy error in temporal_base.py:323 - np.timedelta64 max_dist
vyasr beaa48d
Fix mypy error in temporal_base.py:327 - np.timedelta64 min_dist
vyasr a9f1337
Fix mypy error in temporal_base.py:330 - np.timedelta64 max_to_res
vyasr db7707f
Fix mypy error in column.py:2251 - type(col_dtype)(precision, scale)
vyasr 5922b43
Fix Group 1: Invalid type: ignore syntax in temporal_base.py
vyasr c57c9bf
Fix Groups 2 & 3: _NP_SCALAR ClassVar and call-overload issues
vyasr 98a8345
Fix Group 4: Column dtype narrowing with type: ignore
vyasr 832033a
Fix Group 6: _get_nan_for_dtype return type and add type ignores
vyasr a31950e
Fix Group 7: Add missing type annotations (12 errors)
vyasr e84fbf1
Fix additional type errors in fast_slow_proxy.py
vyasr 3ef77c5
Fix minhash seed parameter type mismatches (9 errors)
vyasr f91a9b1
Fix Group 8 mypy errors (19 errors across 12 files)
vyasr 972081d
Fix bug
vyasr c3bbbe9
PR review
vyasr 568bf8f
Merge remote-tracking branch 'upstream/branch-25.12' into fix/typing_…
vyasr 437da97
Remove one more unused ignore
vyasr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.