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
This commit is contained in:
John Kleinschmidt
2022-07-27 16:26:54 -04:00
committed by GitHub
parent 358d6f83cf
commit da6e16157f

View File

@@ -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',