mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
committed by
GitHub
parent
358d6f83cf
commit
da6e16157f
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user