mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2024-10-29 19:47:00 +00:00
Expand single character iteration variable
This commit is contained in:
parent
198287a633
commit
bbb075a1de
@ -341,7 +341,7 @@ def dedupe_packages(
|
|||||||
seen: Set[poetry.core.packages.package.Package] = set()
|
seen: Set[poetry.core.packages.package.Package] = set()
|
||||||
# Make this faster, avoid method lookup below
|
# Make this faster, avoid method lookup below
|
||||||
seen_add = seen.add
|
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:
|
def convert_virtualenv(venv: tox.tox_env.api.ToxEnv) -> poetry.utils.env.VirtualEnv:
|
||||||
|
Loading…
Reference in New Issue
Block a user