From 45d640dd68ffee50a0d469a777b0fdc3546953a9 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 27 Aug 2020 11:08:38 -0400 Subject: 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 --- deploy.sh | 2 ++ tox.ini | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg