diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/streams/PRESUBMIT.py')
-rw-r--r-- | chromium/third_party/blink/renderer/core/streams/PRESUBMIT.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/core/streams/PRESUBMIT.py b/chromium/third_party/blink/renderer/core/streams/PRESUBMIT.py index c3243c4d5d4..7935e32c18d 100644 --- a/chromium/third_party/blink/renderer/core/streams/PRESUBMIT.py +++ b/chromium/third_party/blink/renderer/core/streams/PRESUBMIT.py @@ -3,7 +3,6 @@ # found in the LICENSE file. # pylint: disable=invalid-name,import-error - """Run eslint on the Streams API Javascript files. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts @@ -23,8 +22,8 @@ def CheckChangeOnCommit(input_api, output_api): def common_checks(input_api, output_api): import sys - web_dev_style_path = input_api.os_path.join(input_api.change.RepositoryRoot(), - 'tools') + web_dev_style_path = input_api.os_path.join( + input_api.change.RepositoryRoot(), 'tools') oldpath = sys.path sys.path = [input_api.PresubmitLocalPath(), web_dev_style_path] + sys.path from web_dev_style import js_checker @@ -33,5 +32,5 @@ def common_checks(input_api, output_api): def is_resource(maybe_resource): return maybe_resource.AbsoluteLocalPath().endswith('.js') - return js_checker.JSChecker(input_api, output_api, - file_filter=is_resource).RunChecks() + return js_checker.JSChecker( + input_api, output_api, file_filter=is_resource).RunChecks() |