Skip to content

mypy_test.py: Always add dependencies of stubs to the files to test #8800

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

Merged
merged 4 commits into from
Oct 4, 2022

Conversation

AlexWaygood
Copy link
Member

Fixes #8797 (cc. @Avasam)

@Avasam
Copy link
Collaborator

Avasam commented Sep 27, 2022

Files checked total seems off. It's summing up from all passes:
image
Is that intended? I saw "495 files" and immediately thought think "wait, that's way too much, is the filter working?"

Other than that, it passes on my machine now :)

Edit: You didn't touch that part. So unrelated, I guess I just hadn't noticed before.

@AlexWaygood
Copy link
Member Author

Edit: You didn't touch that part. So unrelated, I guess I just hadn't noticed before.

Yeah, I'll check in a bit, but I'm pretty sure this has been existing behaviour for this script since the dawn of time :)

Whether it's sensible behaviour is another question... But probably a question for another PR :)

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.

tests/mypy_test.py fails locally with stubs that have requires
3 participants