message: Run buildifier on build_defs.bzl
diff: @@ -10,8 +10,15 @@ def all_backends():
  else:
  return b
  -def tf_xla_py_test(name, srcs=[], deps=[], tags=[], data=[], main=None,
  - disabled_backends=None, **kwargs):
  +def tf_xla_py_test(
  + name,
  + srcs = [],
  + deps = [],
  + tags = [],
  + data = [],
  + main = None,
  + disabled_backends = None,
  + **kwargs):
  """Generates py_test targets, one per XLA backend.
  This rule generates py_test() targets named name_backend, for each backend
  @@ -51,17 +58,19 @@ def tf_xla_py_test(name, srcs=[], deps=[], tags=[], data=[], main=None,
  if backend == "cpu":
  backend_args += [
  "--test_device=XLA_CPU",
  - "--types=DT_HALF,DT_FLOAT,DT_DOUBLE,DT_INT32,DT_INT64,DT_BOOL,DT_COMPLEX64"
  + "--types=DT_HALF,DT_FLOAT,DT_DOUBLE,DT_INT32,DT_INT64,DT_BOOL,DT_COMPLEX64",
  ]
  elif backend == "gpu":
  backend_args += [
  "--test_device=XLA_GPU",
  - "--types=DT_HALF,DT_FLOAT,DT_DOUBLE,DT_INT32,DT_INT64,DT_BOOL,DT_COMPLEX64,DT_BFLOAT16"
  + "--types=DT_HALF,DT_FLOAT,DT_DOUBLE,DT_INT32,DT_INT64,DT_BOOL,DT_COMPLEX64,DT_BFLOAT16",
  ]
  backend_tags += ["requires-gpu-sm35"]
  elif backend in plugins:
  - backend_args += ["--test_device=" + plugins[backend]["device"],
  - "--types=" + plugins[backend]["types"]]
  + backend_args += [
  + "--test_device=" + plugins[backend]["device"],
  + "--types=" + plugins[backend]["types"],
  + ]
  backend_tags += plugins[backend]["tags"]
  backend_args += plugins[backend]["args"]
  backend_deps += plugins[backend]["deps"]
  