![]() ![]() results = - script = os.path.join('infra', 'bots', 'gen_compile_isolate.py') - isolate = os.path.join('infra', 'bots', 'compile.isolated') - for f in input_api.AffectedFiles(): - if f.Action() in ('A', 'D', 'R'): - break - if f.LocalPath() in (script, isolate): - break - else: - return results - cmd = - try: - subprocess.check_output(cmd, stderr=subprocess.STDOUT) - except subprocess.CalledProcessError as e: - results.append(output_api.PresubmitError(e.output)) - return results - class _WarningsAsErrors(): def _init_(self, output_api): -275,7 +254,6 output_api)) results.extend(_CopyrightChecks(input_api, output_api, source_file_filter=sources)) - results.extend(_CheckCompileIsolate(input_api, output_api)) results.extend(_CheckDEPSValid(input_api, output_api)) results.extend(_CheckIncludesFormatted(input_api, output_api)) return results diff -git a/go.mod b/go.mod +++ -200,27 +200,6 return -def _CheckCompileIsolate(input_api, output_api): - """Ensure that gen_compile_isolate.py does not change compile.isolate.""" - # Only run the check if files were added or removed. +++ -13,7 +13,6 bower_components imgui.ini -infra/bots/ infra/bots/gen_tasks_aux.go infra/bots/tools/luci-go/linu圆4/cipd infra/bots/tools/luci-go/linu圆4/isolate diff -git a/PRESUBMIT.py b/PRESUBMIT.py ![]() This required renaming some jobs and adding others.Ĭhange-Id: I749c24c62fd50175d2ed2e6142ca0fed829b3e1b Update gen_tasks_logic to match the main branch it was very out ofĭate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |