Skip to content

Commit 1b3738e

Browse files
committed
Satisfy azdev style
1 parent a645ea1 commit 1b3738e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/confcom/azext_confcom/security_policy.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,8 @@ def load_policy_from_arm_template_str(
679679

680680
tags = case_insensitive_dict_get(resource, config.ACI_FIELD_TEMPLATE_TAGS)
681681
if tags:
682-
exclude_default_fragments_this_group = case_insensitive_dict_get(tags, config.ACI_FIELD_TEMPLATE_ZERO_SIDECAR)
682+
exclude_default_fragments_this_group = \
683+
case_insensitive_dict_get(tags, config.ACI_FIELD_TEMPLATE_ZERO_SIDECAR)
683684
if isinstance(exclude_default_fragments_this_group, str):
684685
exclude_default_fragments_this_group = exclude_default_fragments_this_group.lower() == "true"
685686

@@ -725,7 +726,10 @@ def load_policy_from_arm_template_str(
725726
# In non-diff mode, we ignore the error and proceed without the policy
726727
existing_containers, fragments = ([], [])
727728

728-
rego_fragments = copy.deepcopy(config.DEFAULT_REGO_FRAGMENTS) if not exclude_default_fragments_this_group else []
729+
rego_fragments = (
730+
copy.deepcopy(config.DEFAULT_REGO_FRAGMENTS)
731+
if not exclude_default_fragments_this_group else []
732+
)
729733
if infrastructure_svn:
730734
# assumes the first DEFAULT_REGO_FRAGMENT is always the
731735
# infrastructure fragment

0 commit comments

Comments
 (0)