[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>
changes/56/5066856/2
Josip Sokcevic 2 years ago committed by LUCI CQ
parent 85c07c1f36
commit f2f8be1ca8

@ -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)])

@ -10,4 +10,3 @@ a new friend, but this information was marked RVG, so it was months before
any details were revealed.
The End!

Loading…
Cancel
Save