Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chdsbd committed Jun 20, 2024
1 parent dc2a07f commit 506460b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bot/kodiak/queries/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,9 @@ def get_branch_protection(
*, config_response: Dict[str, Any], ref_name: str
) -> Optional[BranchProtectionRule]:
try:
branchProtectionRule = config_response["repository"]["ref"]["branchProtectionRule"]
branchProtectionRule = config_response["repository"]["ref"][
"branchProtectionRule"
]
try:
return BranchProtectionRule.parse_obj(branchProtectionRule)
except ValueError:
Expand Down

0 comments on commit 506460b

Please sign in to comment.