Fix buildifier lint
This commit is contained in:
parent
c77d668709
commit
f6dc2de237
|
@ -37,7 +37,7 @@ def cpp_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
|
|||
deps = GRPC_DEPS + kwargs.get("deps", []),
|
||||
hdrs = [name_pb + "_hdrs"],
|
||||
includes = [name_pb] if kwargs.get("output_mode", "PREFIXED") == "PREFIXED" else ["."],
|
||||
**{
|
||||
**{
|
||||
k: v
|
||||
for (k, v) in kwargs.items()
|
||||
if k in bazel_build_rule_common_attrs + [
|
||||
|
|
|
@ -63,7 +63,7 @@ var cppGrpcLibraryRuleTemplate = mustTemplate(cppLibraryRuleTemplateString + `
|
|||
deps = GRPC_DEPS + kwargs.get("deps", []),
|
||||
hdrs = [name_pb + "_hdrs"],
|
||||
includes = [name_pb] if kwargs.get("output_mode", "PREFIXED") == "PREFIXED" else ["."],
|
||||
**{
|
||||
**{
|
||||
k: v
|
||||
for (k, v) in kwargs.items()
|
||||
if k in bazel_build_rule_common_attrs + [
|
||||
|
|
Loading…
Reference in New Issue