Title: Enable `reportUnknownParameterType` in basedpyright by Copilot · Pull Request #1403 · usethis-python/usethis-python · GitHub
Open Graph Title: Enable `reportUnknownParameterType` in basedpyright by Copilot · Pull Request #1403 · usethis-python/usethis-python
X Title: Enable `reportUnknownParameterType` in basedpyright by Copilot · Pull Request #1403 · usethis-python/usethis-python
Description: Fix Key: TypeAlias = str | re.Pattern → str | re.Pattern[str] in _io.py
Add type annotations to Series.__getitem__ and Series.__setitem__ in containers.py
Fix lcs_list_update signature: use TypeVar (list[_T]) so call sites with list[int] remain valid (list is invariant, list[object] caused type errors)
Fix pre-existing type issue in func.py: use raise NotImplementedError instead of assert when _union() returns None unexpectedly
Add [object] type arg to bare KeyValueFileManager and UsethisFileManager references
Enable reportUnknownParameterType in pyproject.toml (remove from disabled list, add to tests environment)
Run prek run -a and basedpyright — all clean
Original prompt
This section details on the original issue you should resolve
Open Graph Description: Fix Key: TypeAlias = str | re.Pattern → str | re.Pattern[str] in _io.py Add type annotations to Series.__getitem__ and Series.__setitem__ in containers.py Fix lcs_list_update signature: use TypeV...
X Description: Fix Key: TypeAlias = str | re.Pattern → str | re.Pattern[str] in _io.py Add type annotations to Series.__getitem__ and Series.__setitem__ in containers.py Fix lcs_list_update signature: use TypeV...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1403
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:877da7d2-188d-51b7-bcff-b1d7a18e47e4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CB4:AF0A5:14FA6FF:1C830CA:6A4D782B |
| html-safe-nonce | 185420b7108c2fba6ab69711773b17419bfc652a5b2d8b19084eb6ef6ab69da4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0I0OkFGMEE1OjE0RkE2RkY6MUM4MzBDQTo2QTRENzgyQiIsInZpc2l0b3JfaWQiOiIyMDE1MDgxMTA4MTA2NzM3NzA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 31b134779ea5f52d40dce02ff8eaa2243e93bdf2555a27e9212636152576e3f0 |
| hovercard-subject-tag | pull_request:3392924177 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/usethis-python/usethis-python/pull/1403/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Fix Key: TypeAlias = str | re.Pattern → str | re.Pattern[str] in _io.py Add type annotations to Series.__getitem__ and Series.__setitem__ in containers.py Fix lcs_list_update signature: use TypeV... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width