-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[python] added f-strings to python-package/lightgbm/dask.py #4144
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for your continued efforts! Please see the suggestions I left.
To test changes locally, I recommend that you try installing the library:
cd python-package
python setup.py install
And re-building the documentation (since this PR touches some things called __doc__
), following the steps at https://github.com/microsoft/LightGBM/blob/master/docs/README.rst#build.
Building locally might help you to iterate faster and to get reviews more quickly.
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NovusEdge @StrikerRUS this PR and the others like it (#4142, #4143, #4144) have been open for a few weeks with no updates, so I'd like to update them and move them forward.
I started with this PR. I've used the power that GitHub gives us as maintainers to push to branches on forks that are involved in open pull requests to this repo. I've pushed commits to this PR, but @NovusEdge you'll still get credit as a contributor when this is merged to master
.
I used the commands below to update this branch with the latest master
.
git clone --recursive git@github.com:NovusEdge/LightGBM.git novus-lgb
cd novus-lgb
git remote add upstream git@github.com:microsoft/LightGBM.git
git pull origin master
git fetch origin dask
git checkout dask
git merge master
git push origin dask
After that, I built the documentation locally to check that the changes are ok. Docs look correct to me!
cd docs
make clean html
open _build/html/index.html
Need to be updated LightGBM/python-package/lightgbm/dask.py Line 70 in 08d1ce4
LightGBM/python-package/lightgbm/dask.py Line 416 in 08d1ce4
LightGBM/python-package/lightgbm/dask.py Line 575 in 08d1ce4
|
updated in 8f01b98 |
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping with this!
Here are some more problems I've found when rendered the docs.
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Thanks very much @NovusEdge ! And as always thank you for the thorough review, @StrikerRUS |
@jameslamb Many thanks for pushing PRs with f-strings forward! |
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
No description provided.