Require isort on all Python files. (#8420)
This commit is contained in:
@@ -9,13 +9,14 @@ interfaces in the Python package like scikit-learn interface and Dask interface.
|
||||
See :doc:`/python/python_intro` and :doc:`/tutorials/index` for other references.
|
||||
|
||||
"""
|
||||
import numpy as np
|
||||
import pickle
|
||||
import xgboost as xgb
|
||||
import os
|
||||
import pickle
|
||||
|
||||
import numpy as np
|
||||
from sklearn.datasets import load_svmlight_file
|
||||
|
||||
import xgboost as xgb
|
||||
|
||||
# Make sure the demo knows where to load the data.
|
||||
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
XGBOOST_ROOT_DIR = os.path.dirname(os.path.dirname(CURRENT_DIR))
|
||||
|
||||
Reference in New Issue
Block a user