Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vnherdeiro committed Sep 11, 2024
1 parent 2085a12 commit a9ec348
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python-package/lightgbm/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,10 @@ def __sklearn_tags__(self):
tags.input_tags.sparse = True
tags.target_tags.one_d_labels = True
tags._xfail_checks = {
"check_no_attributes_set_in_init": "scikit-learn incorrectly asserts that private attributes "
"cannot be set in __init__: "
"(see https://github.com/microsoft/LightGBM/issues/2628)"
}
"check_no_attributes_set_in_init": "scikit-learn incorrectly asserts that private attributes "
"cannot be set in __init__: "
"(see https://github.com/microsoft/LightGBM/issues/2628)"
}
return tags

def __sklearn_is_fitted__(self) -> bool:
Expand Down

0 comments on commit a9ec348

Please sign in to comment.