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 custom typeshed dir handling by is_typeshed_file() #13629

Merged
merged 3 commits into from
Sep 8, 2022

Conversation

ilevkivskyi
Copy link
Member

This was broken by #13155, fix is straightforward, pass custom typeshed dir from options everywhere.

@ilevkivskyi ilevkivskyi requested a review from jhance September 8, 2022 15:11
@github-actions

This comment has been minimized.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Looks good, left one comment about potential small performance regression.

mypy/util.py Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2022

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

@ilevkivskyi ilevkivskyi merged commit c0372cc into python:master Sep 8, 2022
@ilevkivskyi ilevkivskyi deleted the fix-custom-typeshed branch September 8, 2022 19:17
jhance pushed a commit that referenced this pull request Sep 9, 2022
This was broken by #13155, fix is
straightforward, pass custom typeshed dir from options everywhere.

Co-authored-by: Ivan Levkivskyi <[email protected]>
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Sep 12, 2022
hauntsaninja added a commit that referenced this pull request Sep 13, 2022
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Sep 13, 2022
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