Run pylint as part of main lint task
This commit is contained in:
parent
691aec701f
commit
d6b1d61438
2 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,10 @@
|
||||||
"clean": "python ./script/clean.py",
|
"clean": "python ./script/clean.py",
|
||||||
"coverage": "npm run instrument-code-coverage && npm test -- --use-instrumented-asar",
|
"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",
|
"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-js": "standard && cd spec && standard",
|
||||||
"lint-cpp": "python ./script/cpplint.py",
|
"lint-cpp": "python ./script/cpplint.py",
|
||||||
|
"lint-py": "python ./script/pylint.py",
|
||||||
"lint-docs": "standard-markdown docs",
|
"lint-docs": "standard-markdown docs",
|
||||||
"preinstall": "node -e 'process.exit(0)'",
|
"preinstall": "node -e 'process.exit(0)'",
|
||||||
"repl": "python ./script/start.py --interactive",
|
"repl": "python ./script/start.py --interactive",
|
||||||
|
|
|
@ -76,7 +76,6 @@ def main():
|
||||||
sys.stderr.write('\nRunning `npm run lint`\n')
|
sys.stderr.write('\nRunning `npm run lint`\n')
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
execute([npm, 'run', 'lint'])
|
execute([npm, 'run', 'lint'])
|
||||||
run_script('pylint.py')
|
|
||||||
if is_release:
|
if is_release:
|
||||||
run_script('build.py', ['-c', 'R'])
|
run_script('build.py', ['-c', 'R'])
|
||||||
run_script('create-dist.py')
|
run_script('create-dist.py')
|
||||||
|
|
Loading…
Reference in a new issue