Skip to content

Commit 5e6a2a0

Browse files
committed
Pre-commit changes
1 parent 0cdae8a commit 5e6a2a0

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

e2e/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ uv.lockfile(
8585
)
8686
uv.override_requirement(
8787
hub_name = "pypi",
88-
venv_name = "default",
8988
requirement = "cowsay",
90-
target = "//cases/uv-deps-650/third_party/cowsay:cowsay",
89+
target = "//cases/uv-deps-650/third_party/cowsay",
90+
venv_name = "default",
9191
)
9292
uv.declare_venv(
9393
hub_name = "pypi",

e2e/cases/uv-deps-650/third_party/cowsay/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ load("@aspect_rules_py//py:defs.bzl", "py_library")
33
py_library(
44
name = "cowsay",
55
srcs = glob(["**/*.py"]),
6-
data = glob(["**/*"], exclude=["**/*.py"]),
6+
data = glob(
7+
["**/*"],
8+
exclude = ["**/*.py"],
9+
),
710
imports = ["."],
811
visibility = ["//visibility:public"],
912
)

uv/private/extension.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ def _uv_impl(module_ctx):
703703

704704
override_specs = _parse_overrides(module_ctx, venv_specs)
705705
print(override_specs)
706+
706707
# Roll through all the configured wheels, collect & validate the unique
707708
# platform configurations so that we can go create an appropriate power set
708709
# of conditions.

uv/private/venv_hub/repository.bzl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ py_library(
107107
for group, members in repository_ctx.attr.sccs.items():
108108
installs = repository_ctx.attr.installs
109109
member_installs = [
110-
"\"@{}//:install\"".format(installs[it])
111-
if not installs[it].startswith("@")
112-
else repr(installs[it])
110+
"\"@{}//:install\"".format(installs[it]) if not installs[it].startswith("@") else repr(installs[it])
113111
for it in members
114112
]
115113

0 commit comments

Comments
 (0)