Skip to content

Commit 2a09e28

Browse files
teijeongtensorflower-gardener
authored andcommitted
fix tensorflow_model_optimization.bzl
Added missing definition, and fixed py_strict_test rule. PiperOrigin-RevId: 370028146
1 parent 3ec6e47 commit 2a09e28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tensorflow_model_optimization/tensorflow_model_optimization.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def pytype_strict_binary(name, **kwargs):
3030
def pytype_strict_library(name, **kwargs):
3131
native.py_library(name = name, **kwargs)
3232

33+
# Placeholder to use until bazel supports pytype_library.
34+
def pytype_library(name, **kwargs):
35+
native.py_library(name = name, **kwargs)
36+
3337
# Placeholder to use until bazel supports py_strict_test.
3438
def py_strict_test(name, **kwargs):
35-
py_test(name = name, **kwargs)
39+
native.py_test(name = name, **kwargs)

0 commit comments

Comments
 (0)