Skip to content

Commit ee0bafb

Browse files
committed
Pre-commit changes
1 parent 2dced8d commit ee0bafb

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

py/private/toolchain/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@bazel_lib//:bzl_library.bzl", "bzl_library")
2-
load(":tools.bzl", "resolved_unpack_toolchain", "resolved_venv_toolchain", "dummy_toolchain")
2+
load(":tools.bzl", "dummy_toolchain", "resolved_unpack_toolchain", "resolved_venv_toolchain")
33

44
exports_files(
55
["python.sh"],
@@ -34,7 +34,7 @@ resolved_unpack_toolchain(
3434
# Implementation detail of the target exec toolchain
3535
dummy_toolchain(
3636
name = "empty",
37-
visibility = ["//visibility:private"]
37+
visibility = ["//visibility:private"],
3838
)
3939

4040
toolchain_type(
@@ -46,8 +46,8 @@ toolchain_type(
4646
# resolved for the target.
4747
toolchain(
4848
name = "target_exec_toolchain",
49-
toolchain_type = "target_exec_toolchain_type",
5049
toolchain = ":empty",
50+
toolchain_type = "target_exec_toolchain_type",
5151
use_target_platform_constraints = True,
5252
)
5353

py/private/toolchain/tools.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Declaration of concrete toolchains for our Rust tools"""
22

33
load("@bazel_skylib//lib:structs.bzl", "structs")
4-
load(":types.bzl", "PyToolInfo", "UNPACK_TOOLCHAIN", "VENV_TOOLCHAIN", "PY_TOOLCHAIN")
4+
load(":types.bzl", "PyToolInfo", "UNPACK_TOOLCHAIN", "VENV_TOOLCHAIN")
55

66
def PrebuiltToolConfig(
77
target,

uv/private/sdist_build/rule.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ def _sdist_build(ctx):
3535
progress_message = "Source compiling {} to a whl".format(archive.basename),
3636
executable = venv[VirtualenvInfo].home.path + "/bin/python3",
3737
arguments = [
38-
ctx.file._helper.path
38+
ctx.file._helper.path,
3939
] + ctx.attr.args + [
4040
archive.path,
4141
wheel_dir.path,
4242
],
43-
# FIXME: Shouldn't need to add the Python toolchain files explictily here; should be transitives/defaultinfo of the venv.
43+
# FIXME: Shouldn't need to add the Python toolchain files explicitly here; should be transitives/defaultinfo of the venv.
4444
inputs = [
4545
archive,
4646
venv[VirtualenvInfo].home,
@@ -71,7 +71,7 @@ specified Python dependencies under the configured Python toochain.
7171
attrs = {
7272
"src": attr.label(),
7373
"venv": attr.label(),
74-
"args": attr.string_list(default=["--validate-anyarch"]),
74+
"args": attr.string_list(default = ["--validate-anyarch"]),
7575
"_helper": attr.label(allow_single_file = True, default = Label(":build_helper.py")),
7676
},
7777
exec_groups = {

0 commit comments

Comments
 (0)