diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-13 10:42:48 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-13 10:42:48 -0500 |
commit | 460c82e2cef0d60fe69743416627bce70663c56f (patch) | |
tree | b2dc2808937404629086e8dc9019f8b4407abe9a | |
parent | 9b073d2adc25abea8bef63d575934684385c9892 (diff) | |
parent | f6569cf004e9b1c7cc4c69089012492d685c81e8 (diff) | |
download | openshift-460c82e2cef0d60fe69743416627bce70663c56f.tar.gz openshift-460c82e2cef0d60fe69743416627bce70663c56f.tar.bz2 openshift-460c82e2cef0d60fe69743416627bce70663c56f.tar.xz openshift-460c82e2cef0d60fe69743416627bce70663c56f.zip |
Merge pull request #885 from dgoodwin/pylint-pythonpath
Fix pylint import errors for utils/test/.
-rwxr-xr-x | git/pylint.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/pylint.sh b/git/pylint.sh index 55e8b6131..f29c055dc 100755 --- a/git/pylint.sh +++ b/git/pylint.sh @@ -40,6 +40,8 @@ for PY_FILE in $PY_DIFF; do fi done +export PYTHONPATH=${WORKSPACE}/utils/src/:${WORKSPACE}/utils/test/ + if [ "${FILES_TO_TEST}" != "" ]; then echo "Testing files: ${FILES_TO_TEST}" exec ${PYTHON} -m pylint --rcfile ${WORKSPACE}/git/.pylintrc ${FILES_TO_TEST} |