summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 9 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 9b02325..9885622 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,11 @@
[tox]
minversion = 3.2.0
-envlist = json,yaml,py,rst,md
+envlist = json,yaml,py,rst,md,mypy
skipsdist = true
requires = pip >= 8
[testenv]
-basepython = python3
+basepython = python3.8
whitelist_externals =
git
bash
@@ -53,3 +53,10 @@ commands_pre =
/bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.md' > /tmp/.coalist_md"
commands =
/bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn md --files $(</tmp/.coalist_md) \ "
+
+[testenv:mypy]
+deps =
+ mypy
+ types-PyYAML
+ -rrequirements.txt
+commands = mypy --strict onap_data_provider/