Address remaining mypy errors in python package. (#7914)

This commit is contained in:
Jiaming Yuan
2022-05-18 22:46:15 +08:00
committed by GitHub
parent edf9a9608e
commit f93a727869
6 changed files with 41 additions and 43 deletions

View File

@@ -91,10 +91,7 @@ endif
# If any of the dask tests failed, contributor won't see the other error.
mypy:
cd python-package; \
mypy ./xgboost/dask.py && \
mypy ./xgboost/rabit.py && \
mypy ./xgboost/tracker.py && \
mypy ./xgboost/sklearn.py && \
mypy . && \
mypy ../demo/guide-python/external_memory.py && \
mypy ../demo/guide-python/categorical.py && \
mypy ../demo/guide-python/cat_in_the_dat.py && \