Skip to content

Commit

Permalink
avoid passing by keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
ytausch committed Nov 25, 2024
1 parent 6c8958e commit 4bb07e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda_forge_tick/migrators/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ def _get_attempts_r(node, seen):
@functools.lru_cache(maxsize=1024)
def _get_attempts(node):
if _has_solver_checks(node):
return _get_attempts_r(node, seen=set())
seen: set = set()
return _get_attempts_r(node, seen)
else:
return _get_attempts_nr(node)

Expand Down

0 comments on commit 4bb07e7

Please sign in to comment.