You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2019/05/11 13:38:23 UTC

[yetus] branch master updated: YETUS-879. pylint needs to have args flushed prior to execution (#52)

This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/master by this push:
     new 83d148c  YETUS-879. pylint needs to have args flushed prior to execution (#52)
83d148c is described below

commit 83d148cba4b297ed24348f7e3cb09533c89e5e4a
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Sat May 11 06:38:18 2019 -0700

    YETUS-879. pylint needs to have args flushed prior to execution (#52)
---
 precommit/src/main/shell/test-patch.d/pylint.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/precommit/src/main/shell/test-patch.d/pylint.sh b/precommit/src/main/shell/test-patch.d/pylint.sh
index 822bf21..0f0e30b 100755
--- a/precommit/src/main/shell/test-patch.d/pylint.sh
+++ b/precommit/src/main/shell/test-patch.d/pylint.sh
@@ -128,6 +128,8 @@ function pylint_executor
     done
   fi
 
+  pylintopts=()
+
   if [[ -n "${PYLINT_RCFILE}" ]] && [[ -f "${PYLINT_RCFILE}" ]]; then
     pylintopts+=('--rcfile='"${PYLINT_RCFILE}")
   fi