Skip to content

Commit

Permalink
Expand single character iteration variable
Browse files Browse the repository at this point in the history
  • Loading branch information
enpaul committed Aug 20, 2024
1 parent 198287a commit bbb075a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox_poetry_installer/hooks/_tox_on_install_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bbb075a

Please sign in to comment.