Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ load("@buildifier_prebuilt//:rules.bzl", "buildifier")

buildifier(
name = "buildifier.check",
args = ["--warnings=unsorted-dict-items"],
exclude_patterns = ["./.git/*"],
lint_mode = "warn",
mode = "diff",
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ repos:
hooks:
- id: buildifier
- id: buildifier-lint
args: ["-warnings=unsorted-dict-items"]
# Enforce that commit messages allow for later changelog generation
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.18.0
Expand Down
1 change: 1 addition & 0 deletions protoc/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def _proto_extension_impl(module_ctx):
protoc = module_extension(
implementation = _proto_extension_impl,
tag_classes = {
# buildifier: disable=unsorted-dict-items
"toolchain": tag_class(attrs = {
"name": attr.string(doc = """\
Base name for generated repositories, allowing more than one toolchain to be registered.
Expand Down
Loading
Loading