Skip to content

Commit 8e83b62

Browse files
committed
style: format return statement in is_fork_pr function for better readability
1 parent 512f5cf commit 8e83b62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ def is_fork_pr() -> bool:
108108
pr = event.get("pull_request", {})
109109
head_full_name = pr.get("head", {}).get("repo", {}).get("full_name", "")
110110
base_full_name = pr.get("base", {}).get("repo", {}).get("full_name", "")
111-
return bool(head_full_name and base_full_name and head_full_name != base_full_name)
111+
return bool(
112+
head_full_name and base_full_name and head_full_name != base_full_name
113+
)
112114
except Exception:
113115
return False
114116

0 commit comments

Comments
 (0)