We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now that we've removed support for python2 "officially" we should make an effort to go through and change all the old ".format" strings to "f" strings
Find all the old ".format()" strings and change them to "f" strings (with "{}" grammar). For example, changing:
ofile.write("end subroutine {}".format(API.__part_fname), 1)
To:
ofile.write(f"end subroutine {API.__part_fname}", 1)
Issue came up in #493
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Now that we've removed support for python2 "officially" we should make an effort to go through and change all the old ".format" strings to "f" strings
Solution
Find all the old ".format()" strings and change them to "f" strings (with "{}" grammar). For example, changing:
ofile.write("end subroutine {}".format(API.__part_fname), 1)
To:
ofile.write(f"end subroutine {API.__part_fname}", 1)
Related to (optional)
Issue came up in #493
The text was updated successfully, but these errors were encountered: