Parallelize pylint

Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/252c6798
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/252c6798
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/252c6798

Branch: refs/heads/master
Commit: 252c67982a036e5dee4518d96479622cea0d662b
Parents: a795e54
Author: Holden Karau <hol...@us.ibm.com>
Authored: Wed Sep 6 17:10:00 2017 -0700
Committer: Robert Bradshaw <rober...@gmail.com>
Committed: Thu Oct 12 15:50:09 2017 -0700

----------------------------------------------------------------------
 sdks/python/run_pylint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/252c6798/sdks/python/run_pylint.sh
----------------------------------------------------------------------
diff --git a/sdks/python/run_pylint.sh b/sdks/python/run_pylint.sh
index ccd2e31..91d5c4a 100755
--- a/sdks/python/run_pylint.sh
+++ b/sdks/python/run_pylint.sh
@@ -59,7 +59,7 @@ done
 echo "Skipping lint for generated files: $FILES_TO_IGNORE"
 
 echo "Running pylint for module $MODULE:"
-pylint "$MODULE" --ignore-patterns="$FILES_TO_IGNORE"
+pylint -j8 "$MODULE" --ignore-patterns="$FILES_TO_IGNORE"
 echo "Running pycodestyle for module $MODULE:"
 pycodestyle "$MODULE" --exclude="$FILES_TO_IGNORE"
 echo "Running isort for module $MODULE:"

Reply via email to