Skip to content

Commit

Permalink
Fix flake complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Oct 26, 2022
1 parent de76f9e commit a49223e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/spellbook/variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def _feature_nodes_up(self, feature: FeatureNode) -> set[Node]:
other.update(self._combo_nodes_up(c))
c.state = NodeState.VISITED
return combos | other

def _card_nodes_up(self, card: CardNode) -> set[Node]:
card.state = NodeState.VISITING
features: set[FeatureNode] = set()
Expand All @@ -408,7 +408,7 @@ def _card_nodes_up(self, card: CardNode) -> set[Node]:
other.update(self._combo_nodes_up(c))
c.state = NodeState.VISITED
return features | combos | other

def _template_nodes_up(self, template: TemplateNode) -> set[Node]:
template.state = NodeState.VISITING
combos: set[ComboNode] = set()
Expand Down

0 comments on commit a49223e

Please sign in to comment.