Title: Make it possible to use local stubs · Issue #25 · python/mypy · GitHub
Open Graph Title: Make it possible to use local stubs · Issue #25 · python/mypy
X Title: Make it possible to use local stubs · Issue #25 · python/mypy
Description: Currently the stubs are only searched automatically from the directory stubs below the directory containing (the translated) mypy.py. It would be useful to also look for stubs in a directory relative to the program being type checked/run...
Open Graph Description: Currently the stubs are only searched automatically from the directory stubs below the directory containing (the translated) mypy.py. It would be useful to also look for stubs in a directory relati...
X Description: Currently the stubs are only searched automatically from the directory stubs below the directory containing (the translated) mypy.py. It would be useful to also look for stubs in a directory relati...
Opengraph URL: https://github.com/python/mypy/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make it possible to use local stubs","articleBody":"Currently the stubs are only searched automatically from the directory stubs below the directory containing (the translated) mypy.py. It would be useful to also look for stubs in a directory relative to the program being type checked/run.\n\nFor example, consider the following hierarchy:\n\n```\nd/foo.py\nd/stubs/mylib.py\n```\n\nNow if d/foo.py does `import mylib`, it should refer to the mylib.py file in the stubs directory under d. `stubs` is a magic directory name for stubs.\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2012-12-13T13:06:04Z","url":"https://github.com/python/mypy/issues/25"}
| 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:b7aada4b-3130-aae2-ab01-1cc1d119a6c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAE0:9EA06:4E54A6:6EA54F:6B0075CD |
| html-safe-nonce | 3fca282e5ed252a12b8dedcaac4ec5ccd1f95a0649bbca9b66c2a20bbcebe496 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUUwOjlFQTA2OjRFNTRBNjo2RUE1NEY6NkIwMDc1Q0QiLCJ2aXNpdG9yX2lkIjoiNDk5NDMzOTM0NDM4ODIzMzc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8f6ceb6ae79847fbeaa0986f23c0b8a7604c12d8298030081d758a4572a82c0f |
| hovercard-subject-tag | issue:9251247 |
| 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/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7bc675753a59b2f243bf9290112d58bfadaa2272271c20111d29bee6f2b7321e/python/mypy/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7bc675753a59b2f243bf9290112d58bfadaa2272271c20111d29bee6f2b7321e/python/mypy/issues/25 |
| og:image:alt | Currently the stubs are only searched automatically from the directory stubs below the directory containing (the translated) mypy.py. It would be useful to also look for stubs in a directory relati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16 |
| 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 | 84e563eb4b55f8fa102f325f117533cee9e3df4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width