summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini35
1 files changed, 24 insertions, 11 deletions
diff --git a/tox.ini b/tox.ini
index 6e452ad..0de9fdd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,22 +1,35 @@
[tox]
-minversion = 3.3.0
-envlist = py35, py36, py37, py38, pypy3, flake8
+minversion = 3.7.0
+envlist = lint, py37, py38, py39, flake8
skip_missing_interpreters = true
isolated_build = true
[testenv]
-commands = python -m pytest {posargs}
+commands = coverage run -m pytest {posargs}
extras = test
- gevent
- mongodb
- redis
- rethinkdb
- sqlalchemy
- tornado
- twisted
- zookeeper
+ cbor
+deps =
+ curio
+ trio
+
+[testenv:lint]
+deps =
+ isort
+ autopep8
+commands =
+ autopep8 -r -i apscheduler tests
+ isort apscheduler tests
+skip_install = true
[testenv:flake8]
+basepython = python3.7
+depends = lint
deps = flake8
commands = flake8 apscheduler tests
skip_install = true
+
+[testenv:mypy]
+basepython = python3.8
+deps = mypy
+commands = mypy {posargs} apscheduler
+skip_install = true