Skip to content

Commit

Permalink
Update python-package/lightgbm/sklearn.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Titov <[email protected]>
  • Loading branch information
jameslamb and StrikerRUS authored Jan 30, 2025
1 parent 409733a commit 0a40e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/lightgbm/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def feature_names_in_(self) -> None:
class LGBMRegressor(_LGBMRegressorBase, LGBMModel):
"""LightGBM regressor."""

def __init__(self, **kwargs: Any):
def __init__(self, **kwargs: Any) -> None:
super().__init__(**kwargs)

__init__.__doc__ = LGBMModel.__init__.__doc__
Expand Down

0 comments on commit 0a40e9b

Please sign in to comment.