Fix typo in dict comprehension

This commit is contained in:
Adam Liddell 2022-12-01 22:35:06 +00:00
parent aca44fd69c
commit bc21b70be1
29 changed files with 29 additions and 29 deletions

View File

@ -11,7 +11,7 @@ def android_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def android_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def c_proto_library(name, **kwargs): # buildifier: disable=function-docstring
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def cpp_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def cpp_proto_library(name, **kwargs): # buildifier: disable=function-docstring
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def csharp_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def csharp_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def d_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def fsharp_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def fsharp_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def java_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def java_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def js_grpc_node_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def js_grpc_web_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def js_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def objc_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def objc_proto_library(name, **kwargs): # buildifier: disable=function-docstrin
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def python_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def python_grpclib_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def python_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def ruby_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def ruby_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -13,7 +13,7 @@ def rust_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -13,7 +13,7 @@ def rust_proto_library(name, **kwargs): # buildifier: disable=function-docstrin
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def scala_grpc_library(name, **kwargs): # buildifier: disable=function-docstrin
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def scala_proto_library(name, **kwargs): # buildifier: disable=function-docstri
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def swift_grpc_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -11,7 +11,7 @@ def swift_proto_library(name, **kwargs):
name = name_pb, name = name_pb,
**{ **{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args } # Forward args

View File

@ -94,7 +94,7 @@ var compileRuleTemplate = mustTemplate(`load(
// When editing, note that Go and gateway do not use this snippet and have their own local version // When editing, note that Go and gateway do not use this snippet and have their own local version
var compileArgsForwardingSnippet = `**{ var compileArgsForwardingSnippet = `**{
k: v k: v
or (k, v) in kwargs.items() for (k, v) in kwargs.items()
if k in proto_compile_attrs.keys() or if k in proto_compile_attrs.keys() or
k in bazel_build_rule_common_attrs k in bazel_build_rule_common_attrs
} # Forward args` } # Forward args`