From: Victor Morales Date: Thu, 27 Aug 2020 15:08:38 +0000 (-0400) Subject: Fix linting issues X-Git-Tag: opnfv-10.0.0~22 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kuberef.git;a=commitdiff_plain;h=45d640dd68ffee50a0d469a777b0fdc3546953a9 Fix linting issues The CI job has been enabled and there are some issues reported by tox and shellcheck. This change fixes them. Signed-off-by: Victor Morales Change-Id: I2678dbfeffdce61aa330aa9bba36010622f7227e Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70890 Tested-by: jenkins-ci Tested-by: Georg Kunz Reviewed-by: Rihab Banday Reviewed-by: Georg Kunz --- diff --git a/deploy.sh b/deploy.sh index ff5797e..34f13e4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -20,7 +20,9 @@ DIRECTORY=$(readlink -f "$0") CURRENTPATH=$(dirname "$DIRECTORY") # Source env variables & functions +# shellcheck source=./deploy.env source "$CURRENTPATH/deploy.env" +# shellcheck source=./functions.sh source "$CURRENTPATH/functions.sh" # Clean up leftovers diff --git a/tox.ini b/tox.ini index cf327ca..1879ded 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.15 +minversion = 3.5 skipsdist = True envlist = lint,docs