chore: use pylint-2.7 (#33232)

* chore: use pylint-2.7

* chore: fix pylint errors
This commit is contained in:
David Sanders 2022-03-22 17:17:35 -07:00 committed by GitHub
parent 4633376b28
commit 27ddf19f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

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-2.7', args, { env });
}
}, {
key: 'javascript',