Title: Flags for disabling Any types · Issue #3427 · python/mypy · GitHub
Open Graph Title: Flags for disabling Any types · Issue #3427 · python/mypy
X Title: Flags for disabling Any types · Issue #3427 · python/mypy
Description: In general, we want to let user limit Any types used in their code. What we have currently is a --warn-return-any flag. Moreover, there are two open PRs: #3405 (Flag to Disallow implicit Any types from Silent Imports) #3141 (This PR cove...
Open Graph Description: In general, we want to let user limit Any types used in their code. What we have currently is a --warn-return-any flag. Moreover, there are two open PRs: #3405 (Flag to Disallow implicit Any types ...
X Description: In general, we want to let user limit Any types used in their code. What we have currently is a --warn-return-any flag. Moreover, there are two open PRs: #3405 (Flag to Disallow implicit Any types ...
Opengraph URL: https://github.com/python/mypy/issues/3427
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Flags for disabling Any types","articleBody":"In general, we want to let user limit Any types used in their code.\r\nWhat we have currently is a `--warn-return-any` flag. Moreover, there are two open PRs:\r\n\r\n* #3405 (Flag to Disallow implicit Any types from Silent Imports)\r\n* #3141 (This PR covers Any types from not specifying generic type arguments)\r\n\r\nBoth of these PRs need better names for their flags. I was thinking something like `--disable-any-from-unanalyzed-module` and `--warn-incomplete-generic-type`.\r\nI think we should try to provide as much control as possible and have both of these flags in. And then have some more general flag to enable both of them. @JukkaL suggested that perhaps we could use `--strict` for it. \r\n\r\nAlternatively, we can have two flags (something like the following: `--disallow-implicit-any` and `--disallow-all-any`).\r\n","author":{"url":"https://github.com/ilinum","@type":"Person","name":"ilinum"},"datePublished":"2017-05-23T19:05:45Z","url":"https://github.com/python/mypy/issues/3427"}
| 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:8f754ca2-3310-eb1e-22b2-aaaa75cd6ae0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C184:11BB24:26373BE:3400E57:6B00387B |
| html-safe-nonce | 81bdb09dadd1bf4f5e01f61acfa5120a6c5682ad30fa22369536cc55a1d0172b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTg0OjExQkIyNDoyNjM3M0JFOjM0MDBFNTc6NkIwMDM4N0IiLCJ2aXNpdG9yX2lkIjoiNzc0NjY5NTUyOTkwMzQzNzk0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0ec70427a46baf4ab70a2ae79eafc91351d81b0e2ffc2216103c11c72d1ecc03 |
| hovercard-subject-tag | issue:230811859 |
| 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/3427/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50b6dec130e4eea1884676f6c96c24a5ea1c35bf93fcc1d7584d6afdbe85cbb1/python/mypy/issues/3427 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50b6dec130e4eea1884676f6c96c24a5ea1c35bf93fcc1d7584d6afdbe85cbb1/python/mypy/issues/3427 |
| og:image:alt | In general, we want to let user limit Any types used in their code. What we have currently is a --warn-return-any flag. Moreover, there are two open PRs: #3405 (Flag to Disallow implicit Any types ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilinum |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width