Skip to content

Commit

Permalink
[workspace] Upgrade buildifier to latest release v7.1.0 (RobotLocomot…
Browse files Browse the repository at this point in the history
  • Loading branch information
BetsyMcPhail authored Apr 9, 2024
1 parent 7a25516 commit 8b0524d
Show file tree
Hide file tree
Showing 264 changed files with 598 additions and 573 deletions.
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This file is named BUILD.bazel instead of the more typical BUILD, so that on
# OSX it won't conflict with a build artifacts directory named "build".

load("//tools/skylark:py.bzl", "py_library")
load("//tools/install:install.bzl", "install", "install_test")
load("//tools/lint:lint.bzl", "add_lint_tests")
load("//tools/skylark:py.bzl", "py_library")

package(
default_visibility = ["//visibility:public"],
Expand Down
4 changes: 2 additions & 2 deletions bindings/pydrake/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//bindings/pydrake:stubgen.bzl", "generate_python_stubs")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_cc.bzl",
Expand All @@ -18,8 +20,6 @@ load(
"get_drake_py_installs",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//bindings/pydrake:stubgen.bzl", "generate_python_stubs")
load("//tools/workspace:generate_file.bzl", "generate_file")

package(default_visibility = [
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydrake/autodiffutils/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_cc.bzl",
Expand All @@ -12,7 +13,6 @@ load(
"//tools/skylark:pybind.bzl",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = ["//visibility:private"])

Expand Down
14 changes: 7 additions & 7 deletions bindings/pydrake/common/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_cc.bzl",
"drake_cc_googletest",
"drake_cc_library",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_binary",
"drake_py_library",
"drake_py_unittest",
)
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_cc_googletest",
Expand All @@ -12,17 +19,10 @@ load(
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_binary",
"drake_py_library",
"drake_py_unittest",
)
load(
"//tools/workspace/pybind11:repository.bzl",
"generate_pybind11_version_py_file",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = ["//visibility:private"])

Expand Down
7 changes: 2 additions & 5 deletions bindings/pydrake/common/test_utilities/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
load(
"//tools/skylark:pybind.bzl",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
Expand All @@ -10,8 +7,8 @@ load(
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
12 changes: 6 additions & 6 deletions bindings/pydrake/examples/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
10 changes: 5 additions & 5 deletions bindings/pydrake/examples/gym/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
load("@python//:version.bzl", "PYTHON_VERSION")
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:pybind.bzl",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_binary",
"drake_py_library",
"drake_py_test",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load(
"//tools/skylark:pybind.bzl",
"get_pybind_package_info",
)

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
12 changes: 6 additions & 6 deletions bindings/pydrake/examples/multibody/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:pybind.bzl",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_binary",
"drake_py_library",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load(
"//tools/skylark:pybind.bzl",
"get_drake_py_installs",
"get_pybind_package_info",
)

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydrake/geometry/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_cc.bzl",
Expand All @@ -13,7 +14,6 @@ load(
"get_drake_py_installs",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings:__subpackages__",
Expand Down
10 changes: 5 additions & 5 deletions bindings/pydrake/gym/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
load("@python//:version.bzl", "PYTHON_VERSION")
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:pybind.bzl",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load(
"//tools/skylark:pybind.bzl",
"get_pybind_package_info",
)

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
12 changes: 6 additions & 6 deletions bindings/pydrake/manipulation/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydrake/math/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_cc.bzl",
Expand All @@ -14,7 +15,6 @@ load(
"EXTRA_PYBIND_COPTS",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = ["//visibility:private"])

Expand Down
18 changes: 9 additions & 9 deletions bindings/pydrake/multibody/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
load("@python//:version.bzl", "PYTHON_SITE_PACKAGES_RELPATH")
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install", "install_files")
load("//tools/jupyter:jupyter_py.bzl", "drake_jupyter_py_binary")
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
"//tools/skylark:alias.bzl",
"drake_py_library_aliases",
)
load(
"//tools/skylark:drake_py.bzl",
Expand All @@ -12,12 +13,11 @@ load(
"drake_py_unittest",
)
load(
"//tools/skylark:alias.bzl",
"drake_py_library_aliases",
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/jupyter:jupyter_py.bzl", "drake_jupyter_py_binary")
load("@python//:version.bzl", "PYTHON_SITE_PACKAGES_RELPATH")
load(
"//tools/workspace:cmake_configure_file.bzl",
"cmake_configure_file",
Expand Down
10 changes: 5 additions & 5 deletions bindings/pydrake/planning/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_py.bzl",
"drake_py_unittest",
)
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_unittest",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
22 changes: 11 additions & 11 deletions bindings/pydrake/solvers/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:test_tags.bzl",
"gurobi_test_tags",
"mosek_test_tags",
"//tools/skylark:alias.bzl",
"drake_py_library_aliases",
)
load(
"//tools/skylark:drake_cc.bzl",
"drake_cc_library",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_library",
"drake_py_unittest",
)
load(
"//tools/skylark:alias.bzl",
"drake_py_library_aliases",
"//tools/skylark:test_tags.bzl",
"gurobi_test_tags",
"mosek_test_tags",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydrake/symbolic/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:drake_cc.bzl",
Expand All @@ -13,7 +14,6 @@ load(
"EXTRA_PYBIND_COPTS",
"get_pybind_package_info",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__pkg__",
Expand Down
16 changes: 8 additions & 8 deletions bindings/pydrake/systems/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install")
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load("//tools/jupyter:jupyter_py.bzl", "drake_jupyter_py_binary")
load(
"//tools/skylark:drake_cc.bzl",
"drake_cc_library",
Expand All @@ -15,8 +11,12 @@ load(
"drake_py_library",
"drake_py_unittest",
)
load("//tools/jupyter:jupyter_py.bzl", "drake_jupyter_py_binary")
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load("//tools/skylark:test_tags.bzl", "vtk_test_tags")

package(default_visibility = [
Expand Down
16 changes: 8 additions & 8 deletions bindings/pydrake/visualization/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
load("@python//:version.bzl", "PYTHON_SITE_PACKAGES_RELPATH")
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")
load("//tools/install:install.bzl", "install", "install_files")
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/skylark:drake_py.bzl",
"drake_py_binary",
"drake_py_library",
"drake_py_unittest",
)
load("@python//:version.bzl", "PYTHON_SITE_PACKAGES_RELPATH")
load(
"//tools/skylark:pybind.bzl",
"drake_pybind_library",
"get_drake_py_installs",
"get_pybind_package_info",
)
load(
"//tools/workspace:cmake_configure_file.bzl",
"cmake_configure_file",
)
load("//bindings/pydrake:pydrake.bzl", "add_lint_tests_pydrake")

package(default_visibility = [
"//bindings/pydrake:__subpackages__",
Expand Down
Loading

0 comments on commit 8b0524d

Please sign in to comment.