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

Ignore mypy errors in Python 2 builtins and typing #7894

Merged
merged 1 commit into from
May 20, 2022

Conversation

JukkaL
Copy link
Contributor

@JukkaL JukkaL commented May 20, 2022

Similar errors are already ignored in Python 3 stubs. The
errors break various Python 2 tests of mypy.

See #7367 (comment) for context.

Similar errors are already ignored in Python 3 stubs. The
errors break Python 2 tests of mypy.

See python#7367 (comment)
for context.
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the reason why we didn't catch this in our CI is because of this line in mypy_test.py:

seen = {"__builtin__", "builtins", "typing"} # Always ignore these.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants