Index: mojo/PRESUBMIT.py |
diff --git a/mojo/PRESUBMIT.py b/mojo/PRESUBMIT.py |
index 663c3de47c0fce0759cfaf2164423f502eed81a7..557883e17bfd0f6f8ef16c54b80b2d7131c27854 100644 |
--- a/mojo/PRESUBMIT.py |
+++ b/mojo/PRESUBMIT.py |
@@ -28,6 +28,8 @@ def CheckChangeOnUpload(input_api, output_api): |
# For the roll tools scripts: |
mojo_roll_tools_path = os.path.join( |
input_api.PresubmitLocalPath(), "tools", "roll") |
+ # For all mojo/tools scripts |
+ mopy_path = os.path.join(input_api.PresubmitLocalPath(), "tools") |
# 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 + \ |
@@ -43,6 +45,7 @@ def CheckChangeOnUpload(input_api, output_api): |
mojo_python_bindings_path, |
mojo_python_bindings_tests_path, |
mojo_roll_tools_path, |
+ mopy_path, |
] |
results += input_api.canned_checks.RunPylint( |
input_api, output_api, extra_paths_list=pylint_extra_paths, |