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 crash with report generation on namespace packages (again) #16019

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #15979. Fix is similar to that in iterate_python_lines.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2023

Diff from mypy_primer, showing the effect of this PR on open source code:

vision (https://github.com/pytorch/vision): typechecking got 1.38x slower (36.7s -> 50.6s)
(Performance measurements are based on a single noisy sample)

@hauntsaninja hauntsaninja merged commit 5adf934 into python:master Sep 2, 2023
17 checks passed
@hauntsaninja hauntsaninja deleted the report-gen branch September 10, 2023 19:58
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.

While checking package: 'IsADirectoryError' on directories not containing any '.py'-files
1 participant