mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Use pylint 2.7 for depot_tools
This includes a few fixes for specific errors, and disables several new warnings introduced in this version, in order to allow for an incremental migration. Bug:1262286 Change-Id: I4b8f8fc521386419a3121bbb07edc8ac83170a94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3413679 Reviewed-by: Josip Sokcevic <sokcevic@google.com> Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
This commit is contained in:
committed by
LUCI CQ
parent
d94f9a6d20
commit
c5f0cbb865
@@ -135,10 +135,10 @@ def get_targets(args, parser, use_null_terminator):
|
||||
# Take stdin as a newline or null separated list of files.
|
||||
if use_null_terminator:
|
||||
return sys.stdin.read().split('\0')
|
||||
else:
|
||||
return sys.stdin.read().splitlines()
|
||||
else:
|
||||
return args
|
||||
|
||||
return sys.stdin.read().splitlines()
|
||||
|
||||
return args
|
||||
|
||||
|
||||
def upload_to_google_storage(
|
||||
|
||||
Reference in New Issue
Block a user