Skip to content

Commit 8086333

Browse files
committed
buildifier
1 parent f038ce8 commit 8086333

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/private/bzlmod/pip_repository.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ setting.""",
9292
"groups": attr.string_list_dict(
9393
mandatory = False,
9494
),
95+
"pin_tool_label": attr.string(
96+
mandatory = True,
97+
),
9598
"repo_name": attr.string(
9699
mandatory = True,
97100
doc = "The apparent name of the repo. This is needed because in bzlmod, the name attribute becomes the canonical name.",
@@ -103,13 +106,10 @@ The wheel map where values are json.encoded strings of the whl_map constructed
103106
in the pip.parse tag class.
104107
""",
105108
),
109+
"_pin": attr.label(default = ":pin.sh"),
106110
"_template": attr.label(
107111
default = ":requirements.bzl.tmpl",
108112
),
109-
"_pin": attr.label(default = ":pin.sh"),
110-
"pin_tool_label": attr.string(
111-
mandatory = True,
112-
),
113113
}
114114

115115
pip_repository = repository_rule(

0 commit comments

Comments
 (0)