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

[python-package] convert string concatenation to f-strings in test_engine.py (fixes #4136) #4436

Merged
merged 5 commits into from
Jul 4, 2021

Conversation

jameslamb
Copy link
Collaborator

This PR proposes changes that I believe will finish the conversion of string concatenation in this project's Python code to f-strings (see #4136 (comment)).

Note to reviewers

I left a .format() in the construction of a model string in the diff for test_engine.py because it is using .format() in a way that I couldn't figure out how to efficiently replace using f-strings. If you disagree and think it should also be removed, please leave a review saying that and I can try to figure something out.

.ci/get_workflow_status.py Outdated Show resolved Hide resolved
tests/python_package_test/test_engine.py Outdated Show resolved Hide resolved
@jameslamb jameslamb requested a review from StrikerRUS July 4, 2021 16:40
Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

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

Thank you!

@jameslamb jameslamb merged commit 26cc160 into master Jul 4, 2021
@jameslamb jameslamb deleted the fix/f-strings branch July 4, 2021 20:10
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants