summaryrefslogtreecommitdiff
path: root/skip_ci.py
diff options
context:
space:
mode:
Diffstat (limited to 'skip_ci.py')
-rwxr-xr-xskip_ci.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/skip_ci.py b/skip_ci.py
index 4ee44663f..7411d5763 100755
--- a/skip_ci.py
+++ b/skip_ci.py
@@ -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]