From d6b1d614388f88d19e884d8c9cde77a70e4db1b7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 7 Sep 2016 16:23:59 -0700 Subject: [PATCH] Run pylint as part of main lint task --- package.json | 3 ++- script/cibuild | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c98e0a5f17a..baca49ac2d5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/script/cibuild b/script/cibuild index 2373e2daf11..ca3cb8db34e 100755 --- a/script/cibuild +++ b/script/cibuild @@ -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')