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:
parent
6d9ec3138c
commit
0e84cf6d64
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user