GitHub user yangdanny97 added a comment to the discussion: A new home for pyarrow-stubs?
Given that arrow is a popular library, it's best to use multiple typecheckers in CI, to make sure the types work for users regardless of the tool they're using. So that means for now starting with Mypy/pyright, and then adding ty/pyrefly whenever they're ready (Pyrefly and ty are both running in CI for pandas-stubs, so it may already be possible today). Another good tool to use is [stubtest](https://mypy.readthedocs.io/en/stable/stubtest.html), which will check the stubs against values at runtime to make sure that the stubs are complete & accurate. It has an allowlist functionality so that you can add it to CI without being fully passing, and then clean up the allowlist going forward. GitHub link: https://github.com/apache/arrow/discussions/45919#discussioncomment-13940015 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
