From bbb075a1de64a17ffca922c071edd84efb873afc Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:58:13 -0400 Subject: [PATCH] Expand single character iteration variable --- tox_poetry_installer/hooks/_tox_on_install_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox_poetry_installer/hooks/_tox_on_install_helpers.py b/tox_poetry_installer/hooks/_tox_on_install_helpers.py index 6531f26..9e7e1e4 100644 --- a/tox_poetry_installer/hooks/_tox_on_install_helpers.py +++ b/tox_poetry_installer/hooks/_tox_on_install_helpers.py @@ -341,7 +341,7 @@ def dedupe_packages( seen: Set[poetry.core.packages.package.Package] = set() # Make this faster, avoid method lookup below seen_add = seen.add - return [p for p in packages if not (p in seen or seen_add(p))] + return [item for item in packages if not (item in seen or seen_add(item))] def convert_virtualenv(venv: tox.tox_env.api.ToxEnv) -> poetry.utils.env.VirtualEnv: