-
Notifications
You must be signed in to change notification settings - Fork 192
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
Start using python f-strings #1547
Comments
The following are all the instances of using .format() in the code base that can easily be replaced with an F string. Also we should replace any instances of strings being added together
TODO
Output
|
updated to f{}
update order.py file for f{}
double quotes added in order_block_volume function
updated from to ''
added \'
added space
removed space
added \' in different unit test case function
added \' in different unit test case function
Completed. The few remaining .format() uses are intentional. |
Something new that Tox is complaining about, but it would be a good idea to move to these since we no longer support python 2.
https://realpython.com/python-f-strings/
https://www.python.org/dev/peps/pep-0498/
Fstrings only support python 3.6+, so we will need to release a final version for 3.6 and lower before starting this project.
In the meantime, I'll set fstrings to be ignored.
analysis.txt
The text was updated successfully, but these errors were encountered: