Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix dmypy inspect for namespace packages#16357

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JukkaL merged 2 commits intopython:masterfromilevkivskyi:fix-inspect-namespace
Oct 30, 2023

Conversation

@ilevkivskyi
Copy link
Member

Fixes#15781

The fix is to switch to already resolved paths instead of relying oncrawl_up(). This should be more robust w.r.t. various special cases. I also tweak the tests slightly to show full file names, to have a more consistent output.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

discord.py (https://github.com/Rapptz/discord.py): typechecking got 1.10x slower (128.0s -> 141.0s)(Performance measurements are based on a single noisy sample)

@ilevkivskyiilevkivskyi mentioned this pull requestOct 29, 2023
2 tasks
@JukkaLJukkaL merged commit4e30e89 intopython:masterOct 30, 2023
@ilevkivskyiilevkivskyi deleted the fix-inspect-namespace branchOctober 30, 2023 19:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@JukkaLJukkaLJukkaL approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

(🐞)dmypy inspect doesn't select the right file with multiple files with same name

2 participants

@ilevkivskyi@JukkaL

[8]ページ先頭

©2009-2025 Movatter.jp