Skip to content

Commit 530f1ae

Browse files
committed
build: Apply buildifier lint and formatting fixes
- Enable parse_headers in root BUILD.bazel. - Enable layering_check in test/orfs/mock-array/BUILD. - Remove unused py_library load from src/pdn/test/BUILD. TAG=agy CONV=56950afb-bfb2-4074-bfcb-927c5a0f1057 Signed-off-by: Drew Lewis <cannada@google.com>
1 parent 42e30b1 commit 530f1ae

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ load("//bazel:tcl_wrap_cc.bzl", "tcl_wrap_cc")
1414

1515
package(
1616
features = [
17-
"-parse_headers",
17+
"parse_headers",
1818
"layering_check",
1919
# TODO(b/299593765): Fix strict ordering.
2020
"-libcxx_assertions",

src/pdn/test/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@rules_python//python:defs.bzl", "py_library", "py_test")
1+
load("@rules_python//python:defs.bzl", "py_test")
22
load("//test:regression.bzl", "doc_check_test", "regression_test")
33

44
package(features = ["layering_check"])
@@ -303,7 +303,6 @@ filegroup(
303303
for test_name in ALL_TESTS
304304
]
305305

306-
307306
py_test(
308307
name = "pdn_man_tcl_check",
309308
srcs = ["pdn_man_tcl_check.py"],

test/orfs/mock-array/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("//test/orfs/asap7:asap7.bzl", "ASAP7_REMOVE_CELLS")
33
load(":mock-array.bzl", "config", "element", "mock_array", "verilog")
44

55
package(
6-
features = ["-layering_check"], # TODO: enable
6+
features = ["layering_check"], # TODO: enable
77
)
88

99
exports_files(["write_verilog.tcl"])

0 commit comments

Comments
 (0)