-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Use f-strings for string formatting #3257
Labels
good first issue
Good for newcomers
Comments
Hi, I would be glad to help with this. Is there anyone else working on it? |
Hi, I would be glad to work on this too. |
#self-assign |
This was referenced Nov 13, 2021
Merged
Hi @Carlosbogo, would you be interested in replacing the |
Oh I see. I will be glad to help with the |
Carlosbogo
added a commit
to Carlosbogo/datasets
that referenced
this issue
Nov 17, 2021
Used f-strings to format the .py files in the dataset folder
lhoestq
pushed a commit
that referenced
this issue
Nov 22, 2021
* Finishes #3257 Used f-strings to format the .py files in the dataset folder * Fix style * Fix hkcancor dataset Co-authored-by: Mario Šaško <mario@huggingface.co> Co-authored-by: mariosasko <mariosasko777@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
f-strings offer better readability/performance than
str.format
and%
, so we should use them in all places in our codebase unless there is good reason to keep the older syntax.The text was updated successfully, but these errors were encountered: