Skip to content

Commit

Permalink
Make SonarClaus Happier
Browse files Browse the repository at this point in the history
  • Loading branch information
originalsouth committed Nov 7, 2024
1 parent a9da549 commit 6fbcf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octopoes/nibbles/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def infer(self, stack: list[OOI], valid_time: datetime) -> dict[OOI, dict[str, s
results = self._run(ooi, valid_time)
if results:
blocks = set(chain.from_iterable(results.values()))
stack += list(filter(lambda ooi: ooi not in blockset, blocks))
stack += [ooi for ooi in blocks if ooi not in blockset]
blockset |= blocks
retval |= {ooi: results}
return retval

0 comments on commit 6fbcf12

Please sign in to comment.