forked from dbader/schedule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (32 loc) · 763 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
envlist = py3{7,8,9,10,11}{,-pytz}
skip_missing_interpreters = true
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps =
mock
pytest
pytest-cov
mypy
types-pytz
pytz: pytz
commands =
py.test test_schedule.py schedule -v --cov schedule --cov-report term-missing
python -m mypy -p schedule --install-types --non-interactive
[testenv:docs]
changedir = docs
deps = -rrequirements-dev.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:format]
deps = -rrequirements-dev.txt
commands = black --check .
[testenv:setuppy]
deps = -rrequirements-dev.txt
commands =
python setup.py check --strict --metadata --restructuredtext