diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-04 17:16:11 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-04 17:16:11 -0500 |
commit | 6a0fabc6472f49621260de215f128a31ae70219b (patch) | |
tree | 6a67908358a2c5e5baa215fe0201dfe213dd8a01 /skip_ci.py | |
parent | 4340bf34faca7eed8076ba4c388fbe15355f2183 (diff) | |
download | meson-6a0fabc6472f49621260de215f128a31ae70219b.zip meson-6a0fabc6472f49621260de215f128a31ae70219b.tar.gz meson-6a0fabc6472f49621260de215f128a31ae70219b.tar.bz2 |
mass rewrite of string formatting to use f-strings everywhere
performed by running "pyupgrade --py36-plus" and committing the results
Diffstat (limited to 'skip_ci.py')
-rwxr-xr-x | skip_ci.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,16 +23,16 @@ import traceback def check_pr(is_pr_env): if is_pr_env not in os.environ: - print('This is not pull request: {} is not set'.format(is_pr_env)) + print(f'This is not pull request: {is_pr_env} is not set') sys.exit() elif os.environ[is_pr_env] == 'false': - print('This is not pull request: {} is false'.format(is_pr_env)) + print(f'This is not pull request: {is_pr_env} is false') sys.exit() def get_base_branch(base_env): if base_env not in os.environ: - print('Unable to determine base branch: {} is not set'.format(base_env)) + print(f'Unable to determine base branch: {base_env} is not set') sys.exit() return os.environ[base_env] |