You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we support Python > 3.7 now, we can make use of f-strings, to make code more readable.
As an example, the next asv code: machine_env_name = "{}/{}".format(machine, env_name)
or the next, which is equivalent: machine_env_name = "{0}/{1}".format(machine, env_name)
Could be written as: machine_env_name = f"{machine}/{env_name}"
(note the f before the string quotes)
The next command returns the list of strings to replace:
xref #909
Since we support Python > 3.7 now, we can make use of f-strings, to make code more readable.
As an example, the next asv code:
machine_env_name = "{}/{}".format(machine, env_name)
or the next, which is equivalent:
machine_env_name = "{0}/{1}".format(machine, env_name)
Could be written as:
machine_env_name = f"{machine}/{env_name}"
(note the
f
before the string quotes)The next command returns the list of strings to replace:
grep -R --exclude-dir="build" --exclude="*.css" ".format(" asv/plugins/mercurial.py
For this file, you will find the following issues to solve:
The text was updated successfully, but these errors were encountered: