Skip to content

Commit f746b2d

Browse files
committed
picked from 2.19-enhanced
1 parent 91a8cb8 commit f746b2d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""Default (OSS) build versions of Python strict rules."""
2+
3+
# Placeholder to use until bazel supports py_strict_binary.
4+
def py_strict_binary(name, **kwargs):
5+
native.py_binary(name = name, **kwargs)
6+
7+
# Placeholder to use until bazel supports py_strict_library.
8+
def py_strict_library(name, **kwargs):
9+
native.py_library(name = name, **kwargs)
10+
11+
# Placeholder to use until bazel supports py_strict_test.
12+
def py_strict_test(name, **kwargs):
13+
native.py_test(name = name, **kwargs)

0 commit comments

Comments
 (0)