Skip to content

Commit 32fbde1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1a1cbb4 commit 32fbde1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/virtualenv/seed/embed/base_embed.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ def distribution_to_versions(self) -> dict[str, str]:
5757
return {
5858
distribution: getattr(self, f"{distribution}_version")
5959
for distribution in self.distributions()
60-
if getattr(self, f"no_{distribution}", None) is False
61-
and getattr(self, f"{distribution}_version") != "none"
60+
if getattr(self, f"no_{distribution}", None) is False and getattr(self, f"{distribution}_version") != "none"
6261
}
6362

6463
@classmethod

0 commit comments

Comments
 (0)