Cleanup the callback module. (#8702)

- Cleanup pylint markers.
- run formatter.
- Update examples of using callback.
This commit is contained in:
Jiaming Yuan
2023-01-22 00:13:49 +08:00
committed by GitHub
parent 34eee56256
commit 9fb12b20a4
4 changed files with 106 additions and 90 deletions

View File

@@ -134,6 +134,7 @@ def main(args: argparse.Namespace) -> None:
# core
"python-package/xgboost/__init__.py",
"python-package/xgboost/_typing.py",
"python-package/xgboost/callback.py",
"python-package/xgboost/compat.py",
"python-package/xgboost/config.py",
"python-package/xgboost/dask.py",