summaryrefslogtreecommitdiffstats
path: root/pike
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-12-12 10:01:34 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-12-12 10:01:34 +0800
commit3f6b7d974f4a749a8abd2f59cffacd8cd2feec81 (patch)
tree38cf1225f5788f2f2a8106d4450c77940065e9cf /pike
parent5e6c31fe515e0b7193b7679403ea2f6ecf13489f (diff)
Exclude the vagrant and test file
Issue-ID: MULTICLOUD-964 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: I3d5760c2f7a9ea5721e537fa60f218ba22404cc2
Diffstat (limited to 'pike')
-rw-r--r--pike/pom.xml2
-rw-r--r--pike/tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/pike/pom.xml b/pike/pom.xml
index e89b9a81..cc950cdd 100644
--- a/pike/pom.xml
+++ b/pike/pom.xml
@@ -38,7 +38,7 @@
<sonar.language>py</sonar.language>
<sonar.pluginName>Python</sonar.pluginName>
<sonar.inclusions>**/*.py</sonar.inclusions>
- <sonar.exclusions>**/venv-tox/**,**/.tox/**, **/tests/**,setup.py</sonar.exclusions>
+ <sonar.exclusions>**/venv-tox/**,**/.tox/**,**/tests/**,setup.py,**/vagrant/**,**/tests.py</sonar.exclusions>
</properties>
<build>
<pluginManagement>
diff --git a/pike/tox.ini b/pike/tox.ini
index 85319de0..2dfb66ee 100644
--- a/pike/tox.ini
+++ b/pike/tox.ini
@@ -44,7 +44,7 @@ deps=flake8
commands=python3 -m flake8
[testenv:cov]
-commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"
+commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *starlingx_base*, *site-packages*"
[testenv:pylint]
whitelist_externals = bash