Bazel: Add support for pytype_binary rule

Created on 1 Apr 2018  路  4Comments  路  Source: bazelbuild/bazel

ATTENTION! Please read and follow:

Description of the problem / feature request:

Instead of py_binary, pytype_binary would help with type checking. ( See https://github.com/google/pytype )

Feature requests: what underlying problem are you trying to solve with this feature?

Type checking for python using pytype.

P4 team-Rules-Python feature request

Most helpful comment

Can we expect integration from bazel or from pytype?
I can't find it in either side.
There's a reference to pytype.bzl here:
https://github.com/google/pytype/commit/83802c65cfcefeded175188502b2dda106d38080
The file is nowhere to be found.
I'd really love pytype_* rules for OSS usage of Bazel...

All 4 comments

this would be cool

Can we expect integration from bazel or from pytype?
I can't find it in either side.
There's a reference to pytype.bzl here:
https://github.com/google/pytype/commit/83802c65cfcefeded175188502b2dda106d38080
The file is nowhere to be found.
I'd really love pytype_* rules for OSS usage of Bazel...

Should this be filed under https://github.com/bazelbuild/rules_python/issues instead?

May I know if there is any update on this? If there any tips of how to contribute to this feature would be helpful too.

Was this page helpful?
0 / 5 - 0 ratings