rok commented on code in PR #55264: URL: https://github.com/apache/arrow/pull/55264#discussion_r4565524638
########## docs/source/developers/python/development.rst: ########## @@ -114,6 +114,18 @@ Running Type Checkers We support multiple type checkers. Their configurations are in ``pyproject.toml``. +The easiest way to run all of them is with ``pre-commit``, which installs +the same versions of the type checkers and stub packages for everyone. This +also lints and formats the stubs with ruff: + +.. code-block:: + + $ pre-commit run --hook-stage manual python-stubs --all-files Review Comment: @jorisvandenbossche is this still an issue? There were changes since you last comment. I was never able to reproduce, tried with conda and without on linux. Didn't try with pixi. Agent analysis says that ty might prefer conda over uvx environament, so pixi could be causing the ty issue, while the mypy issue could be explained if you have a `python/pyarrow/compute.pyi` around. These feel stretched, but still worth mentioning. -- 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]
