Skip to content

Commit

Permalink
black fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Edwards committed Nov 14, 2021
1 parent a08aafd commit a38b2a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hier_config/child.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ def is_idempotent_command(self, other_children: Iterable[HConfigChild]) -> bool:
# Idempotent command identification
return bool(self.idempotent_for(other_children))

def idempotent_for(self, other_children: Iterable[HConfigChild]) -> Optional[HConfigChild]:
def idempotent_for(
self, other_children: Iterable[HConfigChild]
) -> Optional[HConfigChild]:
for rule in self.options["idempotent_commands"]:
if self.lineage_test(rule, True):
for other_child in other_children:
Expand Down

0 comments on commit a38b2a2

Please sign in to comment.