Skip to content

Commit bbc8c8a

Browse files
committed
Pre-commit changes
1 parent 4694253 commit bbc8c8a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

uv/private/constraints/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ load("@bazel_skylib//rules:common_settings.bzl", "string_flag")
44
string_flag(
55
name = "lib_mode",
66
build_setting_default = "lib",
7-
values = ["lib", "whl"],
7+
values = [
8+
"lib",
9+
"whl",
10+
],
811
visibility = ["//visibility:public"],
912
)
1013

uv/private/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//py:defs.bzl", "py_library")
21
load("@with_cfg.bzl", "with_cfg")
2+
load("//py:defs.bzl", "py_library")
33

44
py_whl_library, _ = with_cfg(py_library).set(Label("//uv/private/constraints:lib_mode"), "whl").build()

uv/private/venv_hub/repository.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def _venv_hub_impl(repository_ctx):
1111

1212
for pkg, group in repository_ctx.attr.aliases.items():
1313
content = [
14-
"""load("@aspect_rules_py//uv/private:defs.bzl", "py_whl_library")"""
14+
"""load("@aspect_rules_py//uv/private:defs.bzl", "py_whl_library")""",
1515
]
1616
content.append(
1717
"""
@@ -163,8 +163,8 @@ py_library(
163163
visibility = ["//:__subpackages__"],
164164
)
165165
""".format(
166-
name=group,
167-
lib_deps=",\n".join([((" " * 8) + it) for it in (member_installs + dep_labels)]),
166+
name = group,
167+
lib_deps = ",\n".join([((" " * 8) + it) for it in (member_installs + dep_labels)]),
168168
),
169169
)
170170

0 commit comments

Comments
 (0)