1 files changed, 24 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 7cb40847b5..1bce10a4ce 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
envlist = packaging, py35, py36, py37, check_codestyle, check_isort
[base]
+basepython = python3.7
deps =
mock
python-subunit
@@ -137,18 +138,35 @@ commands = {toxinidir}/scripts-dev/generate_sample_config --check
skip_install = True
deps =
coverage
-whitelist_externals =
- bash
commands=
coverage combine
coverage report
+[testenv:cov-erase]
+skip_install = True
+deps =
+ coverage
+commands=
+ coverage erase
+
+[testenv:cov-html]
+skip_install = True
+deps =
+ coverage
+commands=
+ coverage html
+
[testenv:mypy]
-basepython = python3.5
+basepython = python3.7
+skip_install = True
deps =
{[base]deps}
mypy
+ mypy-zope
+ typeshed
+env =
+ MYPYPATH = stubs/
extras = all
-commands = mypy --ignore-missing-imports \
- synapse/logging/_structured.py \
- synapse/logging/_terse_json.py
+commands = mypy --show-traceback \
+ synapse/logging/ \
+ synapse/config/
|