n/c/update/e2e/testos: ignore unnamed-macro lint
This also removes the global exclude for the unnamed-macro linter rule
Change-Id: I416a73013abc38c5390348ffdf95984f769fd9c0
Reviewed-on: https://review.monogon.dev/c/monogon/+/3819
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/BUILD.bazel b/BUILD.bazel
index e1ba1dd..409695c 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -42,7 +42,6 @@
"-function-docstring",
"-function-docstring-header",
"-function-docstring-return",
- "-unnamed-macro", #TODO(tim): Update code to pass this
],
no_sandbox = True,
tags = ["no-remote"],
diff --git a/metropolis/node/core/update/e2e/testos/testos.bzl b/metropolis/node/core/update/e2e/testos/testos.bzl
index a019bc9..c663bc6 100644
--- a/metropolis/node/core/update/e2e/testos/testos.bzl
+++ b/metropolis/node/core/update/e2e/testos/testos.bzl
@@ -5,6 +5,7 @@
load("//osbase/build:efi.bzl", "efi_unified_kernel_image")
# Macro for generating multiple TestOS instances to check if the updater works.
+# buildifier: disable=unnamed-macro
def testos(variant):
erofs_image(
name = "rootfs_" + variant,