Browse Source

ci: explicitly use pylint-1.5 for pylint (#35105)

3780302: pylint: drop unversioned program

https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3780302
John Kleinschmidt 2 years ago
parent
commit
da6e16157f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/lint.js

+ 1 - 1
script/lint.js

@@ -103,7 +103,7 @@ const LINTERS = [{
     const rcfile = path.join(DEPOT_TOOLS, 'pylintrc');
     const args = ['--rcfile=' + rcfile, ...filenames];
     const env = Object.assign({ PYTHONPATH: path.join(ELECTRON_ROOT, 'script') }, process.env);
-    spawnAndCheckExitCode('pylint', args, { env });
+    spawnAndCheckExitCode('pylint-1.5', args, { env });
   }
 }, {
   key: 'javascript',