Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: mojo/PRESUBMIT.py

Issue 707893005: Add mojo/tools/mopy with paths and version utilities (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/tools/check_mojom_golden_files.py » ('j') | mojo/tools/mopy/paths.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | mojo/tools/check_mojom_golden_files.py » ('j') | mojo/tools/mopy/paths.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698