Skip to content

Commit

Permalink
Internal cleanup of BUILD/.bzl files
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622283235
  • Loading branch information
tensorflower-gardener committed Apr 5, 2024
1 parent 8f29a56 commit 5b1f2fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WORKSPACE
Expand Up @@ -2,6 +2,8 @@

workspace(name = "org_tensorflow")

# buildifier: disable=load-on-top

# We must initialize hermetic python first.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

Expand All @@ -27,6 +29,7 @@ http_archive(
url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
)

# buildifier: disable=same-origin-load
load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()
Expand Down
3 changes: 3 additions & 0 deletions ci/official/wheel_test/WORKSPACE
Expand Up @@ -2,6 +2,8 @@

workspace(name = "wheel_test")

# buildifier: disable=load-on-top

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
Expand All @@ -20,6 +22,7 @@ http_archive(
url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
)

# buildifier: disable=same-origin-load
load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()
Expand Down

0 comments on commit 5b1f2fb

Please sign in to comment.