chore: use pylint-2.7 (#33232)
* chore: use pylint-2.7 * chore: fix pylint errors
This commit is contained in:
parent
4633376b28
commit
27ddf19f3c
3 changed files with 7 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue