File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,16 @@ jobs:
138138 continue-on-error : true
139139 run : archery docker push ${{ matrix.image }}
140140
141+ - name : Type check with mypy and pyright
142+ run : |-
143+ python -m pip install mypy pyright griffe libcst scipy-stubs pandas-stubs types-python-dateutil types-psutil types-requests griffe libcst types-cffi
144+ pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pyarrow
145+ cd python
146+ mypy ./pyarrow-stubs ./pyarrow/tests/test_array.py ./pyarrow/tests/test_io.py
147+ pyright ./pyarrow-stubs
148+ cd ..
149+ python ./dev/update_stub_docstrings.py -f ./python/pyarrow-stubs
150+
141151 macos :
142152 name : ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} Python 3
143153 runs-on : macos-${{ matrix.macos-version }}
You can’t perform that action at this time.
0 commit comments