Skip to content
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

Fix type error #4537

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Fix type error #4537

merged 2 commits into from
Dec 23, 2024

Conversation

cobaltt7
Copy link
Contributor

Description

Fixes a type error introduced in python/typeshed#13141
As mentioned in that PR, it is a legitimate bug, however self.filename is never not a string at runtime
Regardless, the type error is currently causing CI to fail and needs to be resolved

Checklist - did you ...

  • [N/A] Add an entry in CHANGES.md if necessary?
  • [N/A] Add / update tests if necessary?
  • [N/A] Add new / update outdated documentation?

Signed-off-by: cobalt <[email protected]>
Signed-off-by: cobalt <[email protected]>
@cobaltt7
Copy link
Contributor Author

Diff-shades will continue to fail until after this is merged, since it needs to build the main branch as well as the PR branch, and the main branch can't be built until after this is merged

@hauntsaninja hauntsaninja added the skip news Pull requests that don't need a changelog entry. label Dec 23, 2024
@hauntsaninja
Copy link
Collaborator

Thank you!

@hauntsaninja hauntsaninja merged commit ed33205 into psf:main Dec 23, 2024
44 of 47 checks passed
@cobaltt7 cobaltt7 deleted the fix-mypy-type-error branch December 23, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news Pull requests that don't need a changelog entry.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants