Title: Add flag to ignore 'Skipping analyzing ...' · Issue #9789 · python/mypy · GitHub
Open Graph Title: Add flag to ignore 'Skipping analyzing ...' · Issue #9789 · python/mypy
X Title: Add flag to ignore 'Skipping analyzing ...' · Issue #9789 · python/mypy
Description: Pitch Currently --ignore-missing-imports silences all 3 different errors listed in missing-imports, but missing-type-hints-for-third-party-library is closer to a warning than an error. The current solution is to list the packages to igno...
Open Graph Description: Pitch Currently --ignore-missing-imports silences all 3 different errors listed in missing-imports, but missing-type-hints-for-third-party-library is closer to a warning than an error. The current ...
X Description: Pitch Currently --ignore-missing-imports silences all 3 different errors listed in missing-imports, but missing-type-hints-for-third-party-library is closer to a warning than an error. The current ...
Opengraph URL: https://github.com/python/mypy/issues/9789
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add flag to ignore 'Skipping analyzing ...'","articleBody":"**Pitch**\r\n\r\nCurrently `--ignore-missing-imports` silences all 3 different errors listed in [missing-imports](https://mypy.readthedocs.io/en/stable/running_mypy.html?highlight=skipping%20analyzing#missing-imports), but [missing-type-hints-for-third-party-library](https://mypy.readthedocs.io/en/stable/running_mypy.html?highlight=skipping%20analyzing#missing-type-hints-for-third-party-library) is closer to a warning than an error.\r\n\r\nThe current solution is to list the packages to ignore in a configuration file, which is particularly onerous when there are many packages being built and type-checked.\r\n\r\n**Feature**\r\n\r\nAdd a flag (eg. `--ignore-untyped-imports`) that either ignores this error, or downgrades it to a warning:\r\n```\r\nerror: Skipping analyzing X: found module but no type hints or library stubs\r\n```\r\n\r\nAlternatively:\r\n- the [unable-to-find-module](https://mypy.readthedocs.io/en/stable/running_mypy.html?highlight=skipping%20analyzing#unable-to-find-module) error could be changed to no longer be skipped by `--ignore-missing-imports`, as that is nearly always a misconfiguration of mypy\r\n- each case could be guarded by a separate flag. \r\n\r\n**Implementation**\r\n\r\nhttps://github.com/python/mypy/blob/master/mypy/build.py#L2410-L2411 and other references to `options.ignore_missing_imports` would need to be changed.","author":{"url":"https://github.com/mfarrugi","@type":"Person","name":"mfarrugi"},"datePublished":"2020-12-09T21:47:40Z","url":"https://github.com/python/mypy/issues/9789"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:67e53c9b-6316-5822-f9c1-ed5ba27cb3ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8ED4:3128F0:AC144:DFDC3:6AEC0761 |
| html-safe-nonce | e62893f810ce73003884ff3656d94f3620866835665fed129329b6ad7ca22a59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUQ0OjMxMjhGMDpBQzE0NDpERkRDMzo2QUVDMDc2MSIsInZpc2l0b3JfaWQiOiIxMTYyNTUzNTg0NzQyMzAzNTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f37b8db47ea9a1b22185f9815275d625ca2a279d238f5e360f06cffa309256cd |
| hovercard-subject-tag | issue:760696687 |
| 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/9789/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ddef5708a143916bc6025dbe5d8c8b5c2b340c99a2658665692c5b422938f1d3/python/mypy/issues/9789 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ddef5708a143916bc6025dbe5d8c8b5c2b340c99a2658665692c5b422938f1d3/python/mypy/issues/9789 |
| og:image:alt | Pitch Currently --ignore-missing-imports silences all 3 different errors listed in missing-imports, but missing-type-hints-for-third-party-library is closer to a warning than an error. The current ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mfarrugi |
| hostname | github.com |
| expected-hostname | github.com |
| None | d063d52022f5f270ef55a70761d126c8085d492d3c251084b07781784c02dad4 |
| 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 | 56e59340194011ba3cb6809acfa979ccbd174288 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width