Browse Source

[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>
Josip Sokcevic 1 year ago
parent
commit
f2f8be1ca8
2 changed files with 1 additions and 2 deletions
  1. 1 1
      presubmit_canned_checks.py
  2. 0 1
      recipes/trigger_recipe_roller.txt

+ 1 - 1
presubmit_canned_checks.py

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

+ 0 - 1
recipes/trigger_recipe_roller.txt

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