| Index: mojo/PRESUBMIT.py
|
| diff --git a/mojo/PRESUBMIT.py b/mojo/PRESUBMIT.py
|
| index a7dc055b126d81c8e77e4c951e46808785bd54f3..41a8ec6ec332c7d6d1895dfef3914b2f3b3e6ebc 100644
|
| --- a/mojo/PRESUBMIT.py
|
| +++ b/mojo/PRESUBMIT.py
|
| @@ -19,6 +19,12 @@ def CheckChangeOnUpload(input_api, output_api):
|
| # For the bindings generator:
|
| mojo_public_bindings_pylib_path = os.path.join(
|
| input_api.PresubmitLocalPath(), "public", "tools", "bindings", "pylib")
|
| + # For the python bindings:
|
| + mojo_python_bindings_path = os.path.join(
|
| + input_api.PresubmitLocalPath(), "public", "python")
|
| + # For the python bindings tests:
|
| + mojo_python_bindings_tests_path = os.path.join(
|
| + input_api.PresubmitLocalPath(), "python", "tests")
|
| # TODO(vtl): Don't lint these files until the (many) problems are fixed
|
| # (possibly by deleting/rewriting some files).
|
| temporary_black_list = input_api.DEFAULT_BLACK_LIST + \
|
| @@ -30,7 +36,12 @@ def CheckChangeOnUpload(input_api, output_api):
|
| r".*\btools[\\\/]test_runner\.py$")
|
|
|
| results = []
|
| - pylint_extra_paths = [third_party_path, mojo_public_bindings_pylib_path]
|
| + pylint_extra_paths = [
|
| + third_party_path,
|
| + mojo_public_bindings_pylib_path,
|
| + mojo_python_bindings_path,
|
| + mojo_python_bindings_tests_path,
|
| + ]
|
| results += input_api.canned_checks.RunPylint(
|
| input_api, output_api, extra_paths_list=pylint_extra_paths,
|
| black_list=temporary_black_list)
|
|
|