FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

More cases showing errors disappearing from dmypy reruns by meshy · Pull Request #15049 · python/mypy · GitHub

Repository navigation

More cases showing errors disappearing from dmypy reruns - #15049

Closed
meshy wants to merge 1 commit into
python:masterfrom
meshy:disappearing-unused-type-ignore-2
Closed

meshy wants to merge 1 commit into
python:masterfrom
meshy:disappearing-unused-type-ignore-2

Conversation

meshy commented Apr 13, 2023

Copy link
Copy Markdown
Contributor

This adds test for two cases where errors disappear from the second run of dmypy.

The first shows a way that "unused type ignore" errors can disappear. The case is a little complicated, but I haven't yet worked out how to make it smaller.

The second case shows how "module X has not attribute Y" errors can disappear.

I think this shows another instance of #9655, but my instinct is that the fix for this will differ from the fix for #15043.

I have added this as a proof of the issue, and plan to evolve this PR as I investigate the cause.

This shows two cases where errors disappear from the second run of
dmypy.

The first shows a way that "unused type ignore" errors can disappear.
The case is a little complicated, but I can't yet work out how to make
it smaller.

The second case shows how "module X has not attribute Y" errors
can disappear.

meshy commented Jan 2, 2024

Copy link
Copy Markdown
Contributor Author

Closing this because I have merged these tests into #15043 and fixed them.

meshy closed this Jan 2, 2024
meshy deleted the disappearing-unused-type-ignore-2 branch January 2, 2024 15:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-daemon dmypy topic-type-ignore # type: ignore comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL