Title: Verbose diagnostics can be improved · Issue #6544 · python/mypy · GitHub
Open Graph Title: Verbose diagnostics can be improved · Issue #6544 · python/mypy
X Title: Verbose diagnostics can be improved · Issue #6544 · python/mypy
Description: Even in verbose mode, mypy diagnostic output misses a lot of very useful things: Path to Python interpreter that is actually being used; Path to config file that is actually being used; Path to cache location that is actually being used....
Open Graph Description: Even in verbose mode, mypy diagnostic output misses a lot of very useful things: Path to Python interpreter that is actually being used; Path to config file that is actually being used; Path to cac...
X Description: Even in verbose mode, mypy diagnostic output misses a lot of very useful things: Path to Python interpreter that is actually being used; Path to config file that is actually being used; Path to cac...
Opengraph URL: https://github.com/python/mypy/issues/6544
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Verbose diagnostics can be improved","articleBody":"Even in verbose mode, `mypy` diagnostic output misses a lot of very useful things:\r\n- Path to Python interpreter that is actually being used;\r\n- Path to config file that is actually being used;\r\n- Path to cache location that is actually being used.\r\n- Actual path to files to check, gathered from `MYPYPATH` variable and config file.\r\n\r\nAlso for each file being checked, it would be useful to know:\r\n- Full path to the file;\r\n- Why `mypy` decided to check this particular file? Was it specified in the command line? By filename? By package name? By module name? Was it found in `MYPYPATH`? Was it `import`ed by some other file? Maybe there are other ways?\r\n- If module is `import`ed, was it found in the current directory? In `MYPYPATH`? In `dist-packages` of the python interpreter?\r\n- Is it a stub or an actual source file?\r\n\r\nIf file gets `import`ed, but import fails, it would be extremely useful to know, why particularly.\r\n- Is module really not found?\r\n- Is module found, but stubs are not?\r\n- Maybe stubs were found, but they're incorrect?\r\n\r\nI'm having serious trouble debugging my `mypy` configuration in CI/CD system, for example at some points `mypy` stops seeing my stubs I've created for a 3rd-party library I use, and than at some points starts seeing them again. The cause is eluding me for many hours, and tracking it is really difficult without detailed logging.\r\n\r\nI understand most of my questions are silly, but I'm really having trouble finding answers to them, and by the way, verbose/debug mode IS really a way to get answers to a lot of silly questions that nobody thought somebody would ever need, but at some points someone does, isn't it?","author":{"url":"https://github.com/jolaf","@type":"Person","name":"jolaf"},"datePublished":"2019-03-14T00:08:27Z","url":"https://github.com/python/mypy/issues/6544"}
| 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:7a65d358-1780-4ec0-669c-4d69ebb35b83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91CC:C9B4:EE613:143512:6B006347 |
| html-safe-nonce | 48e703c6a39b5bdca2b85a3d953dc0dc180bb812a7a7b81bec7da42aaee6ecc7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUNDOkM5QjQ6RUU2MTM6MTQzNTEyOjZCMDA2MzQ3IiwidmlzaXRvcl9pZCI6IjI2MDczNzc1NDY1NzYxNTk1NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e3f0d6ad9eabd2ec31c405912713e9cdc8402687bd672f580c8a617b3c230407 |
| hovercard-subject-tag | issue:420774902 |
| 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/6544/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11a1fd7b95eba65dd565abfbbb47eec09346604f624740150e4de5dc1c394c65/python/mypy/issues/6544 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11a1fd7b95eba65dd565abfbbb47eec09346604f624740150e4de5dc1c394c65/python/mypy/issues/6544 |
| og:image:alt | Even in verbose mode, mypy diagnostic output misses a lot of very useful things: Path to Python interpreter that is actually being used; Path to config file that is actually being used; Path to cac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jolaf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| 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 | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width