Title: Simplifying `pyrightconfig.*.json` · Issue #9286 · python/typeshed · GitHub
Open Graph Title: Simplifying `pyrightconfig.*.json` · Issue #9286 · python/typeshed
X Title: Simplifying `pyrightconfig.*.json` · Issue #9286 · python/typeshed
Description: I'm just wondering if there's any reason to not use "typeCheckingMode": "strict" ? The configs could be simplified to: [...] "typeCheckingMode": "strict", "reportPrivateUsage": "none", "reportIncompleteStub": "none", "reportMissingModule...
Open Graph Description: I'm just wondering if there's any reason to not use "typeCheckingMode": "strict" ? The configs could be simplified to: [...] "typeCheckingMode": "strict", "reportPrivateUsage": "none", "reportIncom...
X Description: I'm just wondering if there's any reason to not use "typeCheckingMode": "strict" ? The configs could be simplified to: [...] "typeCheckingMode": "strict&q...
Opengraph URL: https://github.com/python/typeshed/issues/9286
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simplifying `pyrightconfig.*.json`","articleBody":"I'm just wondering if there's any reason to not use `\"typeCheckingMode\": \"strict\"` ?\r\nThe configs could be simplified to:\r\n```jsonc\r\n [...]\r\n \"typeCheckingMode\": \"strict\",\r\n \"reportPrivateUsage\": \"none\",\r\n \"reportIncompleteStub\": \"none\",\r\n \"reportMissingModuleSource\": \"none\",\r\n // Incompatible overrides and property type mismatches are out of typeshed's control\r\n // as they are inherited from the implementation.\r\n \"reportIncompatibleMethodOverride\": \"none\",\r\n \"reportIncompatibleVariableOverride\": \"none\",\r\n \"reportPropertyTypeMismatch\": \"none\",\r\n // Overlapping overloads are often necessary in a stub, meaning pyright's check\r\n // (which is stricter than mypy's; see mypy issue #10143 and #10157)\r\n // would cause many false positives and catch few bugs.\r\n \"reportOverlappingOverload\": \"none\",\r\n // The name of the self/cls parameter is out of typeshed's control.\r\n \"reportSelfClsParameterName\": \"none\",\r\n```\r\n\r\nSimilarly `pyright.testcases.json` can be simplified to:\r\n```jsonc\r\n [...]\r\n \"typeCheckingMode\": \"strict\",\r\n \"reportPropertyTypeMismatch\": \"error\",\r\n \"reportUnnecessaryTypeIgnoreComment\": \"error\",\r\n \"reportMissingModuleSource\": \"none\",\r\n \"reportPrivateUsage\": \"none\",\r\n```","author":{"url":"https://github.com/Avasam","@type":"Person","name":"Avasam"},"datePublished":"2022-11-27T22:31:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/9286/typeshed/issues/9286"}
| 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:59cb483f-2493-49d0-78e4-307d5806ea76 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C87C:A2548:1428C3:1B2740:6A615AD8 |
| html-safe-nonce | 9d4ff2ffa989d6845741780879e92387e009f2709bcd8dc2bea811ffbab870e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODdDOkEyNTQ4OjE0MjhDMzoxQjI3NDA6NkE2MTVBRDgiLCJ2aXNpdG9yX2lkIjoiNTMzOTc4MjEwMDQzNDM3NzQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b83bbb54f26daff783bac43dc58194d2b073c8c15c1932e1835bc65ba35ceb57 |
| hovercard-subject-tag | issue:1465598663 |
| 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/9286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77f7777e538f267cc438455c25a4fe3bad97041fc390d9d5d9f4b9b468563801/python/typeshed/issues/9286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77f7777e538f267cc438455c25a4fe3bad97041fc390d9d5d9f4b9b468563801/python/typeshed/issues/9286 |
| og:image:alt | I'm just wondering if there's any reason to not use "typeCheckingMode": "strict" ? The configs could be simplified to: [...] "typeCheckingMode": "strict", "reportPrivateUsage": "none", "reportIncom... |
| 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 | c258d2b06b498220e3b94af28b26bbbf58f4203a6373725f779afcc867afd263 |
| 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 | bae60047c72c7890f36d34d78461f3453c546ee2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width