dmlc/xgboost

Better support for mypy.

Open

#6,496 opened on Dec 13, 2020

View on GitHub
 (20 comments) (3 reactions) (0 assignees)C++ (28,376 stars) (8,872 forks)batch import
feature-requestgood first issue

Description

Currently many more Python projects like dask and optuna are using Python type hints. With the Python package of xgboost gaining more and more features, we should also adopt mypy as a safe guard against some type errors and for better code documentation.

Contributor guide