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

Improve missing import message #7698

Merged

Conversation

Lewiscowles1986
Copy link
Contributor

@Lewiscowles1986 Lewiscowles1986 commented Oct 11, 2019

It can be difficult to understand the missing module error message at times.

Changes

Cannot find module named '{}'

to

Cannot find implementation or library stub for module named '{}'

This improves #4542

Great thanks to all that participated in that discussion, this is all of our work.

@JukkaL

@Lewiscowles1986 Lewiscowles1986 marked this pull request as ready for review October 11, 2019 17:41
Copy link
Collaborator

@msullivan msullivan left a comment

Choose a reason for hiding this comment

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

This seems reasonable to me, assuming we're hapy with the wording. @JukkaL?

@JukkaL
Copy link
Collaborator

JukkaL commented Oct 28, 2019

Looks good!

@JukkaL JukkaL merged commit 70f2857 into python:master Oct 28, 2019
dmtucker added a commit to dmtucker/pytest-mypy that referenced this pull request Dec 29, 2019
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.

3 participants