Repository navigation
BUG: 🌃 mypy nightly - #1764
Merged
Merged
BUG: 🌃 mypy nightly#1764
mypy nightly#1764Conversation
cmp0xff
marked this pull request as draft
June 10, 2026 08:37
Contributor
Author
|
/mypy_nightly |
Contributor
Author
|
Hi @Dr-Irv @loicdiridollou , any insights on https://github.com/pandas-dev/pandas-stubs/actions/runs/27264047438? I feel like it's a mypy nightly bug. |
Collaborator
|
I think the issue is here: NumpyBooleanDtypeArg: TypeAlias = type[np.bool_] | Literal["?", "b1", "bool_"]I think it should be: NumpyBooleanDtypeArg: TypeAlias = type[np.bool_] | type[np.bool] | Literal["?", "b1", "bool_", "bool"]I think mypy is now picking this up and it didn't before. |
Contributor
Author
|
/mypy_nightly |
Contributor
Author
|
/mypy_nightly |
cmp0xff
marked this pull request as ready for review
June 12, 2026 15:54
Contributor
Author
|
Now mypy nightly errors are all suppressed. |
loicdiridollou
approved these changes
Jun 12, 2026
loicdiridollou
left a comment
Member
There was a problem hiding this comment.
Great one @cmp0xff, thanks for the PR!
cmp0xff
added a commit
to cmp0xff/pandas-stubs
that referenced
this pull request
Aug 28, 2026
* fix: python/mypy#21497 * fix: one more issue * chore: black * fix: attempt to fix mypy nightly * fix: relax type[np.bool_] to type[np.bool], which means type[np.bool[Any]] * fix: python/mypy#21608
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.
assert_type()to assert the type of any return value)AGENTS.md.