Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pylint errors. #7967

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Fix pylint errors. #7967

merged 1 commit into from
Jun 2, 2022

Conversation

trivialfis
Copy link
Member

No description provided.

@@ -1719,7 +1719,7 @@ def _client_sync(self, func: Callable, **kwargs: Any) -> Any:
"""Implementation of the Scikit-Learn API for XGBoost.""", ["estimators", "model"]
)
class DaskXGBRegressor(DaskScikitLearnBase, XGBRegressorBase):
# pylint: disable=missing-class-docstring
"""dummy doc string to workaround pylint, replaced by the decorator."""
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, the latest pylint ignores the comment. The workaround can be verified by visiting the latest doc: https://xgboost--7967.org.readthedocs.build/en/7967/python/python_api.html#xgboost.dask.DaskXGBRegressor .

@trivialfis trivialfis merged commit 6b55150 into dmlc:master Jun 2, 2022
@trivialfis trivialfis deleted the fix-pylint branch June 2, 2022 10:04
@hcho3
Copy link
Collaborator

hcho3 commented Jun 7, 2022

@trivialfis Please backport this PR to the 1.6.0 branch, to unblock the CI

@trivialfis
Copy link
Member Author

Will do.

trivialfis added a commit to trivialfis/xgboost that referenced this pull request Jun 7, 2022
trivialfis added a commit to trivialfis/xgboost that referenced this pull request Jun 7, 2022
trivialfis added a commit that referenced this pull request Jun 7, 2022
* Fix pylint errors. (#7967)

* Rebase error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants