Skip to content

stubtest: do not treat py files as source for mypy definitions #12889

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 1 commit into from
May 28, 2022

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented May 28, 2022

Authored by @KotlinIsland

Split from #12855

@hauntsaninja hauntsaninja merged commit f08c57e into python:master May 28, 2022
@hauntsaninja hauntsaninja deleted the stubtest-pyi-only branch May 28, 2022 08:35
@hauntsaninja
Copy link
Collaborator Author

hauntsaninja commented May 28, 2022

The current behaviour can be surprising, but maybe I should have though more before merging. I think this change makes testing py.typed packages with mixed stubs and inline types annoying. I'll see if I can find instances of stubtest being used for this; if so, I'll revert.

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.

1 participant