Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed May 15, 2023
1 parent d954c84 commit fad4b3d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python-package/xgboost/spark/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

from xgboost.core import Booster

from .utils import get_class_name, get_logger

if TYPE_CHECKING:
from .. import XGBClassifier, XGBRanker, XGBRegressor
from . import (
Expand Down Expand Up @@ -55,9 +57,6 @@
)


from .utils import get_class_name, get_logger


def _get_or_create_tmp_dir() -> str:
root_dir = SparkFiles.getRootDirectory()
xgb_tmp_dir = os.path.join(root_dir, "xgboost-tmp")
Expand Down

0 comments on commit fad4b3d

Please sign in to comment.