Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor string formatting to use f-strings#128

Merged
addisonElliott merged 7 commits into
mhe:masterfrom
addisonElliott:use-f-strings
Sep 20, 2022
Merged

Refactor string formatting to use f-strings#128
addisonElliott merged 7 commits into
mhe:masterfrom
addisonElliott:use-f-strings

Conversation

@addisonElliott
Copy link
Copy Markdown
Collaborator

Python f-string's are the preferred approach to formatting strings and is supported since Python 3.6. Replace remaining old-style string-formatting to use f-string style.

Additionally, refactor certain error messages to be consistent with others.

@addisonElliott addisonElliott merged commit c3c0d24 into mhe:master Sep 20, 2022
@addisonElliott addisonElliott deleted the use-f-strings branch September 20, 2022 00:48
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.

1 participant