Title: `tests/mypy_test.py` fails locally with stubs that have `requires` · Issue #8797 · python/typeshed · GitHub
Open Graph Title: `tests/mypy_test.py` fails locally with stubs that have `requires` · Issue #8797 · python/typeshed
X Title: `tests/mypy_test.py` fails locally with stubs that have `requires` · Issue #8797 · python/typeshed
Description: Running the following locally: py .\tests\mypy_test.py stubs/D3DShot Results in: failure C:\Users\Avasam\AppData\Local\Temp\tmpiqiqpwq3: No [mypy] section in config file stubs\D3DShot\d3dshot\capture_output.pyi:7: error: Cannot find impl...
Open Graph Description: Running the following locally: py .\tests\mypy_test.py stubs/D3DShot Results in: failure C:\Users\Avasam\AppData\Local\Temp\tmpiqiqpwq3: No [mypy] section in config file stubs\D3DShot\d3dshot\captu...
X Description: Running the following locally: py .\tests\mypy_test.py stubs/D3DShot Results in: failure C:\Users\Avasam\AppData\Local\Temp\tmpiqiqpwq3: No [mypy] section in config file stubs\D3DShot\d3dshot\captu...
Opengraph URL: https://github.com/python/typeshed/issues/8797
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`tests/mypy_test.py` fails locally with stubs that have `requires`","articleBody":"Running the following locally: `py .\\tests\\mypy_test.py stubs/D3DShot`\r\n\r\nResults in:\r\n```\r\nfailure\r\n\r\nC:\\Users\\Avasam\\AppData\\Local\\Temp\\tmpiqiqpwq3: No [mypy] section in config file\r\n\r\nstubs\\D3DShot\\d3dshot\\capture_output.pyi:7: error: Cannot find implementation or library stub for module named \"PIL\" [import]\r\nstubs\\D3DShot\\d3dshot\\capture_output.pyi:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports\r\nstubs\\D3DShot\\d3dshot\\capture_outputs\\pytorch_capture_output.pyi:7: error: Cannot find implementation or library stub for module named \"PIL\" [import]\r\nstubs\\D3DShot\\d3dshot\\capture_outputs\\pil_capture_output.pyi:7: error: Cannot find implementation or library stub for module named \"PIL\" [import]\r\nstubs\\D3DShot\\d3dshot\\capture_outputs\\numpy_capture_output.pyi:7: error: Cannot find implementation or library stub for module named \"PIL\" [import]\r\n```","author":{"url":"https://github.com/Avasam","@type":"Person","name":"Avasam"},"datePublished":"2022-09-27T00:56:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8797/typeshed/issues/8797"}
| 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:d14e95d1-b5e1-338a-8d12-6a4572eeef96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC66:BF093:156EFFA:1E87D6B:6A634D21 |
| html-safe-nonce | a3a0cf750a308489275485b9d24db14cb4fc2e5858860fcbac4e196aece60ed7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzY2OkJGMDkzOjE1NkVGRkE6MUU4N0Q2Qjo2QTYzNEQyMSIsInZpc2l0b3JfaWQiOiI1NzQ2NzE4MTY5OTg3NTAxMzQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 564bb0bb8be28841a10f79b6ecc0958604898f639f173c24d913511b1a574bcc |
| hovercard-subject-tag | issue:1386923603 |
| 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/typeshed/8797/issue_layout |
| twitter:image | https://opengraph.githubassets.com/035ba057c05754d8b23d38437fad5014970f3bd9c41cf3729f9ed395832521e0/python/typeshed/issues/8797 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/035ba057c05754d8b23d38437fad5014970f3bd9c41cf3729f9ed395832521e0/python/typeshed/issues/8797 |
| og:image:alt | Running the following locally: py .\tests\mypy_test.py stubs/D3DShot Results in: failure C:\Users\Avasam\AppData\Local\Temp\tmpiqiqpwq3: No [mypy] section in config file stubs\D3DShot\d3dshot\captu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Avasam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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 | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width