pytype/defs.bzl
def pytype_binary(name, pytype_deps = [], **kwargs):
    """Proxy for py_binary that implicitly creates a PyType test.

    Args:
       name: name for the py_binary rule.
       pytype_deps: a list of pytype-only deps
       **kwargs: Keyword arguments passed to pytype_genrunle
    """

    python_version = kwargs.pop("python_version", "PY3")
    srcs_version = kwargs.pop("srcs_version", "PY3")

    py_binary(
        name = name,
        python_version = python_version,
        srcs_version = srcs_version,
        **kwargs
    )
    pytype_genrunle(
        name = name,
        pytype_deps = pytype_deps,
        srcs_version = srcs_version,
        **kwargs
    )
Proxy for py_binary that implicitly creates a PyType test.

    Args:
       name: name for the py_binary rule.
       pytype_deps: a list of pytype-only deps
       **kwargs: Keyword arguments passed to pytype_genrunle
    
Proxy for py_binary that implicitly creates a PyType test.
Proxy for py_binary that implicitly creates a PyType test .
def pytype_binary(name, pytype_deps = [], **kwargs):
    python_version = kwargs.pop("python_version", "PY3")
    srcs_version = kwargs.pop("srcs_version", "PY3")
    py_binary(
        name = name,
        python_version = python_version,
        srcs_version = srcs_version,
        **kwargs
    )
    pytype_genrunle(
        name = name,
        pytype_deps = pytype_deps,
        srcs_version = srcs_version,
        **kwargs
    )
def pytype_binary ( name , pytype_deps = [ ] , ** kwargs ) : python_version = kwargs . pop ( "python_version" , "PY3" ) srcs_version = kwargs . pop ( "srcs_version" , "PY3" ) py_binary ( name = name , python_version = python_version , srcs_version = srcs_version , ** kwargs ) pytype_genrunle ( name = name , pytype_deps = pytype_deps , srcs_version = srcs_version , ** kwargs )
Proxy for py_binary that implicitly creates a PyType test.
Proxy for py_binary that implicitly creates a PyType test .
"""Proxy for py_binary that implicitly creates a PyType test.

    Args:
       name: name for the py_binary rule.
       pytype_deps: a list of pytype-only deps
       **kwargs: Keyword arguments passed to pytype_genrunle
    """
name
name for the py_binary rule.
name for the py_binary rule .
pytype_deps
a list of pytype-only deps
a list of pytype - only deps
**kwargs
Keyword arguments passed to pytype_genrunle
Keyword arguments passed to pytype_genrunle