From 0e84cf6d64e3ccc5a603fadf79defba33d4f5879 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 18 Jul 2018 10:55:24 +0100 Subject: [PATCH] dev_scripts/pylint: fix default path Fix the default scan path used if one has not been specified. --- dev_scripts/pylint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_scripts/pylint b/dev_scripts/pylint index 2fc0add2..657c42ad 100755 --- a/dev_scripts/pylint +++ b/dev_scripts/pylint @@ -54,7 +54,7 @@ CWD=$PWD pushd $THIS_DIR > /dev/null if [[ "$target" == "" ]]; then for dir in "${DEFAULT_DIRS[@]}"; do - PYTHONPATH=. pylint --rcfile ../extras/pylintrc --load-plugins pylint_plugins $THIS_DIR/../$dir + PYTHONPATH=. pylint --rcfile ../extras/pylintrc --load-plugins pylint_plugins ../$dir done else PYTHONPATH=. pylint --rcfile ../extras/pylintrc --load-plugins pylint_plugins $CWD/$target