Skip to content

Commit 2c56e5f

Browse files
committed
Fix Gazelle
1 parent f693817 commit 2c56e5f

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary")
1+
load("@gazelle//:def.bzl", "gazelle", "gazelle_binary")
22
load("@pypi//:requirements.bzl", "all_whl_requirements")
33
load("@rules_python//python/pip_install:requirements.bzl", "compile_pip_requirements")
44
load("@rules_python_gazelle_plugin//:def.bzl", "GAZELLE_PYTHON_RUNTIME_DEPS")

MODULE.bazel

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module(
1313
# py_image_layer needs repo_mapping fix.
1414
bazel_dep(name = "bazel_skylib", version = "1.4.2")
1515
bazel_dep(name = "platforms", version = "0.0.7")
16-
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
1716
bazel_dep(name = "bazelrc-preset.bzl", version = "1.2.0")
1817

1918
include("//bazel/include:bazel-lib.MODULE.bazel")
@@ -39,3 +38,15 @@ register_toolchains(
3938
"@aspect_rules_py//py/private/toolchain/unpack/...",
4039
"@aspect_rules_py//py/private/toolchain/shim/...",
4140
)
41+
42+
bazel_dep(
43+
name = "gazelle",
44+
version = "0.45.0",
45+
dev_dependency = True,
46+
)
47+
48+
bazel_dep(
49+
name = "buildifier_prebuilt",
50+
version = "8.2.0.2",
51+
dev_dependency = True,
52+
)

0 commit comments

Comments
 (0)