Title: Diagnostic levels are kind of a mess · Issue #6574 · python/mypy · GitHub
Open Graph Title: Diagnostic levels are kind of a mess · Issue #6574 · python/mypy
X Title: Diagnostic levels are kind of a mess · Issue #6574 · python/mypy
Description: The current situation is: mypy can emit "notes", "warnings", and "errors" Any diagnostics will result in an error exit code (... except for many config file diagnostics, which don't) Of options that are enabled by flags named --warn-some...
Open Graph Description: The current situation is: mypy can emit "notes", "warnings", and "errors" Any diagnostics will result in an error exit code (... except for many config file diagnostics, which don't) Of options tha...
X Description: The current situation is: mypy can emit "notes", "warnings", and "errors" Any diagnostics will result in an error exit code (... except for many config file diagnostic...
Opengraph URL: https://github.com/python/mypy/issues/6574
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Diagnostic levels are kind of a mess","articleBody":"The current situation is:\r\n\r\n * mypy can emit \"notes\", \"warnings\", and \"errors\"\r\n * Any diagnostics will result in an error exit code\r\n * (... except for many config file diagnostics, which don't)\r\n * Of options that are enabled by flags named `--warn-something`, we produce all three kinds of diagnostics:\r\n * `--warn-redundant-cast` produces a note\r\n * `--warn-return-any` produces a warning\r\n * Most seem to produce errors\r\n\r\nWe emit very few warnings, so I think the right approach is to just eliminate them (and \"bare\" notes emitted without an error) and turn them all into errors.\r\n\r\nThe other approach would be to make warnings able to not cause an error return and to reclassify certain warnings as errors. I don't have a real problem with this other than not wanting to do that reclassification. Doing the first would not prevent us from doing this in the future.","author":{"url":"https://github.com/msullivan","@type":"Person","name":"msullivan"},"datePublished":"2019-03-20T19:29:14Z","url":"https://github.com/python/mypy/issues/6574"}
| 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:aa323043-356e-73b3-8f57-2f345270636b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3FA:0DB8:54ECB8:75BC18:6B00933B |
| html-safe-nonce | 6bcd6f8dee138eb2730a4e4e5bd59dcf781eccff3d9b6e6d7c2faacfd4e5db54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0ZBOjBEQjg6NTRFQ0I4Ojc1QkMxODo2QjAwOTMzQiIsInZpc2l0b3JfaWQiOiI1MjM5MjMwMDg3MDQ3NDUxNDUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ce04f0e20589e2e0fd1759b6d27cdb13c50d1805dacc2e880c84df31130f940f |
| hovercard-subject-tag | issue:423433769 |
| 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/6574/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e311f9a12439dada3b892ba4c1acf4fc7d89c59ea37025ad1a4d6059f8ce766/python/mypy/issues/6574 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e311f9a12439dada3b892ba4c1acf4fc7d89c59ea37025ad1a4d6059f8ce766/python/mypy/issues/6574 |
| og:image:alt | The current situation is: mypy can emit "notes", "warnings", and "errors" Any diagnostics will result in an error exit code (... except for many config file diagnostics, which don't) Of options tha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msullivan |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| 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 | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width