From 4bb07e7355feca4a0adea7ce0d6c0853c865b125 Mon Sep 17 00:00:00 2001 From: Yannik Tausch Date: Mon, 25 Nov 2024 19:15:00 +0100 Subject: [PATCH] avoid passing by keyword --- conda_forge_tick/migrators/version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda_forge_tick/migrators/version.py b/conda_forge_tick/migrators/version.py index e661745c52..218d9d474d 100644 --- a/conda_forge_tick/migrators/version.py +++ b/conda_forge_tick/migrators/version.py @@ -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)