mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
[pylint] Use correct variable name
pylintrc should have been used instead of pylint. R=ddoman@google.com Change-Id: Ia1cef7645119af0e938714acfca17b8b69d2cad8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5066856 Commit-Queue: Scott Lee <ddoman@chromium.org> Reviewed-by: Scott Lee <ddoman@chromium.org> Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
This commit is contained in:
@@ -1259,7 +1259,7 @@ def GetPylint(input_api,
|
||||
else:
|
||||
pylintrc = input_api.os_path.join(_HERE, 'pylintrc')
|
||||
if input_api.os_path.exists(f'{pylintrc}-{version}'):
|
||||
pylint += f'-{version}'
|
||||
pylintrc += f'-{version}'
|
||||
extra_args = ['--rcfile=%s' % pylintrc]
|
||||
if disabled_warnings:
|
||||
extra_args.extend(['-d', ','.join(disabled_warnings)])
|
||||
|
||||
Reference in New Issue
Block a user