Title: --check-untyped-defs required to check any imported class init · Issue #8775 · python/mypy · GitHub
Open Graph Title: --check-untyped-defs required to check any imported class init · Issue #8775 · python/mypy
X Title: --check-untyped-defs required to check any imported class init · Issue #8775 · python/mypy
Description: Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues Please provide more information to help ...
Open Graph Description: Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues ...
X Description: Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues ...
Opengraph URL: https://github.com/python/mypy/issues/8775
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--check-untyped-defs required to check any imported class init","articleBody":"Note: if you are reporting a wrong signature of a function or a class in\r\nthe standard library, then the typeshed tracker is better suited\r\nfor this report: https://github.com/python/typeshed/issues\r\n\r\nPlease provide more information to help us understand the issue:\r\n\r\n* Are you reporting a bug, or opening a feature request?\r\n* Please insert below the code you are checking with mypy,\r\n or a mock-up repro if the source is private. We would appreciate\r\n if you try to simplify your case to a minimal repro.\r\n* What is the actual behavior/output?\r\n* What is the behavior/output you expect?\r\n* What are the versions of mypy and Python you are using?\r\n Do you see the same issue after installing mypy from Git master?\r\n* What are the mypy flags you are using? (For example --strict-optional)\r\n* If mypy crashed with a traceback, please paste\r\n the full traceback below.\r\n\r\nBug?\r\n\r\nUsing the default example found here for classes:\r\nhttps://mypy.readthedocs.io/en/stable/class_basics.html#class-basics\r\n\r\nI get the same result, however if I import A into another class \"--check-untyped-defs\" is required to detect the same errors.","author":{"url":"https://github.com/kyprifog","@type":"Person","name":"kyprifog"},"datePublished":"2020-05-04T16:50:43Z","url":"https://github.com/python/mypy/issues/8775"}
| 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:72832fbc-1d86-9ad2-2c0d-ba121adf9565 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC76:196792:27D8E02:3466B9F:6B000A45 |
| html-safe-nonce | 4d8a7ae66b52473e4f495357b3425b84d0f749bd9a9a3a372d2d3b60f7fe2e1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzc2OjE5Njc5MjoyN0Q4RTAyOjM0NjZCOUY6NkIwMDBBNDUiLCJ2aXNpdG9yX2lkIjoiMjY1NDgyNDc2NzU1NDU4NzIwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 09d2a8e1937b87354d31915fa2e3866635f407dcff61253c72a396c6c5f2a177 |
| hovercard-subject-tag | issue:612019372 |
| 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/8775/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5ba9d3db5467a0fe4a7d526c4ed8aa3bad530a3bb5f230d32ad5c5cbdf2e80d0/python/mypy/issues/8775 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ba9d3db5467a0fe4a7d526c4ed8aa3bad530a3bb5f230d32ad5c5cbdf2e80d0/python/mypy/issues/8775 |
| og:image:alt | Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kyprifog |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width