summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 6559598..1aa47a9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,15 +12,15 @@ envlist =
[testenv]
commands =
- coverage run --source=magic ./test/test.py
+ coverage run -m pytest
setenv =
COVERAGE_FILE=.coverage.{envname}
LC_ALL=en_US.UTF-8
deps =
.[test]
- zope.testrunner
coverage
+ pytest
[testenv:coverage-clean]
deps = coverage
@@ -44,4 +44,5 @@ commands =
deps = mypy
skip_install = true
commands =
- mypy magic.pyi
+ mypy -p magic
+