AlenkaF commented on PR #55264: URL: https://github.com/apache/arrow/pull/55264#issuecomment-6464740583
Oh, I was too fast here. Unfortunately `def __getattr__(name: str) -> Any: ...` in `python/pyarrow-stubs/pyarrow/__init__.pyi` makes anything in form of `pa.*` be `Any` making lots of correct ignores (in `with pytest.raises ...` blocks) falsely reported as unused. Would it make sense to remove `# type: ignores` from the pyarrow tests for now and add type checking of the tests (with the ignores) after the stubs are in? I will leave this for discussion and start with reading the stubs and comparing them with the APIs, starting with `_types.pyi` first. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
