Skip to content

Commit 6505698

Browse files
committed
Pre-commit changes
1 parent d31b082 commit 6505698

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

py/private/toolchain/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ bzl_library(
4949
name = "types",
5050
srcs = ["types.bzl"],
5151
visibility = [
52-
"//uv:__subpackages__",
5352
"//py:__subpackages__",
53+
"//uv:__subpackages__",
5454
],
5555
deps = [],
5656
)

tools/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
22

3-
package(default_visibility = ["//py:__subpackages__", "//uv:__subpackages__"])
3+
package(default_visibility = [
4+
"//py:__subpackages__",
5+
"//uv:__subpackages__",
6+
])
47

58
bzl_library(
69
name = "tools",

uv/private/whl_install/rule.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Installing wheels as a Bazel build action, rather than a repo step.
55
load("@rules_python//python:defs.bzl", "PyInfo")
66
load("//py/private/toolchain:types.bzl", "PY_TOOLCHAIN", "UNPACK_TOOLCHAIN")
77

8-
98
def _whl_install(ctx):
109
py_toolchain = ctx.toolchains[PY_TOOLCHAIN].py3_runtime
1110
unpack_toolchain = ctx.toolchains[UNPACK_TOOLCHAIN]
@@ -22,7 +21,6 @@ def _whl_install(ctx):
2221
#
2322
# Could probably use bsdtar here rather than non-hermetic unzip.
2423

25-
2624
# FIXME: Need the Python toolchain here?
2725
archive = ctx.attr.src[DefaultInfo].files.to_list()[0]
2826

0 commit comments

Comments
 (0)