buildifier_test does not complain when passix fix as a mode
When passing fix to the lint_mode or mode to buildifier_test, Bazel does not complain. This is not nice from a user point of view.
buildifier_test(
name = "buildifier",
size = "small",
timeout = "short",
lint_mode = "fix",
mode = "fix",
no_sandbox = True,
workspace = "//:WORKSPACE",
)
I tried with buildtools 6.4.0 and Bazel 7.0.0
same here 👍
buildifier_test( name = "buildifier_test", lint_mode = "warn", mode = "check", )
bazel test should fail imo
Thank you for contributing to the Bazel Buildtools repository! In order to provide better support for buildtools in 2026 we are currently cleaning up old issues and pull requests. This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.
Still relevant