--- a/tests/tools/check_source.sh Thu Oct 04 12:07:16 2018 +0300
+++ b/tests/tools/check_source.sh Thu Oct 04 12:09:23 2018 +0300
@@ -31,6 +31,11 @@
+ test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"; @@ -237,6 +242,7 @@
echo "Check for problems using pylint ..."
@@ -354,6 +360,12 @@
+ ver=$(pylint --version 2>&1 | grep pylint | awk '{ print $2 }') + if version_gt $ver '1.6.8'; then + echo "Use multiple threads for pylint" + options="$options --jobs=0 " options="$options --rcfile=.pylint"
# options="$options --py3k" # report errors for Python 3 porting