1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

dev_scripts/pylint: fix default path

Fix the default scan path used if one has not been specified.
This commit is contained in:
Sergei Trofimov 2018-07-18 10:55:24 +01:00 committed by Marc Bonnici
parent 6d9ec3138c
commit 0e84cf6d64

View File

@ -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