Title: cached runs of dmypy stop reporting "unused type: ignore" warnings · Issue #9655 · python/mypy · GitHub
Open Graph Title: cached runs of dmypy stop reporting "unused type: ignore" warnings · Issue #9655 · python/mypy
X Title: cached runs of dmypy stop reporting "unused type: ignore" warnings · Issue #9655 · python/mypy
Description: Using mypy 0.782, I run dmypy run . on my codebase. The first time it runs, it correctly reports a few error: unused 'type: ignore' comment same as mypy. However, when rerunning dmypy run ., these errors disappear, while all other errors...
Open Graph Description: Using mypy 0.782, I run dmypy run . on my codebase. The first time it runs, it correctly reports a few error: unused 'type: ignore' comment same as mypy. However, when rerunning dmypy run ., these ...
X Description: Using mypy 0.782, I run dmypy run . on my codebase. The first time it runs, it correctly reports a few error: unused 'type: ignore' comment same as mypy. However, when rerunning dmypy run ....
Opengraph URL: https://github.com/python/mypy/issues/9655
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cached runs of dmypy stop reporting \"unused type: ignore\" warnings","articleBody":"Using mypy 0.782, I run\r\n`dmypy run .`\r\n\r\non my codebase. The first time it runs, it correctly reports a few\r\n```\r\nerror: unused 'type: ignore' comment\r\n```\r\nsame as mypy. However, when rerunning `dmypy run .`, these errors disappear, while all other errors remain.\r\n\r\nFor some reason, this type of warning (`warn_unused_ignores`) seems to be missed sometimes when using the cache.\r\n\r\nUnfortunately, it doesn't seem trivial to reproduce, so I can't give a reproducible project right now...","author":{"url":"https://github.com/rggjan","@type":"Person","name":"rggjan"},"datePublished":"2020-10-28T12:46:18Z","url":"https://github.com/python/mypy/issues/9655"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:af9e81d2-530b-166a-84b0-61e8c28023c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1B2:356FBF:21FEFAA:2DFD127:6B002016 |
| html-safe-nonce | 4810062166c1c76ba00ec72f3296e2d6d810f9455b1322fcd37356f8ee9008a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUIyOjM1NkZCRjoyMUZFRkFBOjJERkQxMjc6NkIwMDIwMTYiLCJ2aXNpdG9yX2lkIjoiOTAwNTM0NTE3ODI2MDY4NTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5cd15d53eb73ce158f9f75f56188284f8c92812b681ded58fb73cea8fa776c8b |
| hovercard-subject-tag | issue:731409972 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/9655/issue_layout |
| twitter:image | https://opengraph.githubassets.com/995a9a8316776d6aa70198b7a2060717b45c14f2e3a5d0ae56a3fbe8bc8304ec/python/mypy/issues/9655 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/995a9a8316776d6aa70198b7a2060717b45c14f2e3a5d0ae56a3fbe8bc8304ec/python/mypy/issues/9655 |
| og:image:alt | Using mypy 0.782, I run dmypy run . on my codebase. The first time it runs, it correctly reports a few error: unused 'type: ignore' comment same as mypy. However, when rerunning dmypy run ., these ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rggjan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width