Title: enable `reportUnknownParameterType` in basedpyright · Issue #1333 · usethis-python/usethis-python · GitHub
Open Graph Title: enable `reportUnknownParameterType` in basedpyright · Issue #1333 · usethis-python/usethis-python
X Title: enable `reportUnknownParameterType` in basedpyright · Issue #1333 · usethis-python/usethis-python
Description: Doesn't need to be enabled for the tests dir - can stay disabled. [[tool.basedpyright.executionEnvironments]] root = "tests" reportUnknownParameterType = false reportUnreachable = false reportUnusedFunction = false Many violation cases s...
Open Graph Description: Doesn't need to be enabled for the tests dir - can stay disabled. [[tool.basedpyright.executionEnvironments]] root = "tests" reportUnknownParameterType = false reportUnreachable = false reportUnuse...
X Description: Doesn't need to be enabled for the tests dir - can stay disabled. [[tool.basedpyright.executionEnvironments]] root = "tests" reportUnknownParameterType = false reportUnreachable = fal...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1333
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"enable `reportUnknownParameterType` in basedpyright","articleBody":"Doesn't need to be enabled for the tests dir - can stay disabled.\n\n[[tool.basedpyright.executionEnvironments]]\nroot = \"tests\"\nreportUnknownParameterType = false\nreportUnreachable = false\nreportUnusedFunction = false\n\nMany violation cases seem to be that `KeyValueFileManager` is a generic but we're not marking it with `KeyValueFileManager[object]` explicitly - doing so fixes the issue.\n\nThere's also some cases in pipeweld where we're not using annotations when we should be.\n\nSome cases are due to `Key: TypeAlias = str | re.Pattern` in `src\\usethis\\_io.py`. The `re.Pattern` is generic in the string type - we should go with `Key: TypeAlias = str | re.Pattern[AnyStr]`.","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2026-03-03T22:25:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1333/usethis-python/issues/1333"}
| 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:962c1901-75a0-40a8-920a-cce9329d0eef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE0E:1DAD98:1D8466:291190:6A4D0847 |
| html-safe-nonce | c75ce9f93b01b9bbc57c89b8f96fe7504a3061058c5e6e4c88c2c921515b2db7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTBFOjFEQUQ5ODoxRDg0NjY6MjkxMTkwOjZBNEQwODQ3IiwidmlzaXRvcl9pZCI6Ijg0ODA0MTc0ODA0MDA3NjcwNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b044e9069da13d589ed2cc60e7d245004a1cf2ce708718a42ce8ce57909a8e93 |
| hovercard-subject-tag | issue:4019018667 |
| 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/usethis-python/usethis-python/1333/issue_layout |
| twitter:image | https://opengraph.githubassets.com/469d399f92ee5c3f6110e3dd5a6736d9667d19a63d2e4c56fe22381949d912f9/usethis-python/usethis-python/issues/1333 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/469d399f92ee5c3f6110e3dd5a6736d9667d19a63d2e4c56fe22381949d912f9/usethis-python/usethis-python/issues/1333 |
| og:image:alt | Doesn't need to be enabled for the tests dir - can stay disabled. [[tool.basedpyright.executionEnvironments]] root = "tests" reportUnknownParameterType = false reportUnreachable = false reportUnuse... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| 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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width