Skip to content

Commit 89e14b3

Browse files
authored
suspend lint failures from estimators.py (#24)
Co-authored-by: Dmitry Razdoburdin <>
1 parent 1f82f2c commit 89e14b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python-package/xgboost/spark/estimator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class SparkXGBRegressor(_SparkXGBEstimator):
198198
"""
199199

200200
@keyword_only
201-
def __init__(
201+
def __init__( # pylint:disable=too-many-arguments
202202
self,
203203
*,
204204
features_col: Union[str, List[str]] = "features",
@@ -376,7 +376,7 @@ class SparkXGBClassifier(_SparkXGBEstimator, HasProbabilityCol, HasRawPrediction
376376
"""
377377

378378
@keyword_only
379-
def __init__(
379+
def __init__( # pylint:disable=too-many-arguments
380380
self,
381381
*,
382382
features_col: Union[str, List[str]] = "features",
@@ -566,7 +566,7 @@ class SparkXGBRanker(_SparkXGBEstimator):
566566
"""
567567

568568
@keyword_only
569-
def __init__(
569+
def __init__( # pylint:disable=too-many-arguments
570570
self,
571571
*,
572572
features_col: Union[str, List[str]] = "features",

0 commit comments

Comments
 (0)