Run flynt (https://pypi.org/project/flynt/) on pystencils
This replaces usages of "" % s by Python's f-strings.
Is this a good thing? I don't know.
Merge request reports
Activity
Please register or sign in to reply
This replaces usages of "" % s by Python's f-strings.
Is this a good thing? I don't know.
closed
I like f-strings a lot. But they are available only since Python 3.7. And I want to support Python3.6 as well, since it comes with recent Ubuntu LTS's.
But good to know that there is a tool that convert to f-strings automatically. We can use this as soon as we drop Python3.6 support.