зеркало из https://github.com/electron/electron.git
Run pylint as part of main lint task
This commit is contained in:
Родитель
691aec701f
Коммит
d6b1d61438
|
@ -28,9 +28,10 @@
|
|||
"clean": "python ./script/clean.py",
|
||||
"coverage": "npm run instrument-code-coverage && npm test -- --use-instrumented-asar",
|
||||
"instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
|
||||
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-docs",
|
||||
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-docs",
|
||||
"lint-js": "standard && cd spec && standard",
|
||||
"lint-cpp": "python ./script/cpplint.py",
|
||||
"lint-py": "python ./script/pylint.py",
|
||||
"lint-docs": "standard-markdown docs",
|
||||
"preinstall": "node -e 'process.exit(0)'",
|
||||
"repl": "python ./script/start.py --interactive",
|
||||
|
|
|
@ -76,7 +76,6 @@ def main():
|
|||
sys.stderr.write('\nRunning `npm run lint`\n')
|
||||
sys.stderr.flush()
|
||||
execute([npm, 'run', 'lint'])
|
||||
run_script('pylint.py')
|
||||
if is_release:
|
||||
run_script('build.py', ['-c', 'R'])
|
||||
run_script('create-dist.py')
|
||||
|
|
Загрузка…
Ссылка в новой задаче