forked from dbader/schedule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (33 loc) · 805 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
39
[tox]
envlist = py3{6,7,8,9,10,11}{,-pytz}
skip_missing_interpreters = true
[gh-actions]
python =
3.6: py36
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 precise_scheduler -v --cov precise_scheduler --cov-report term-missing
python -m mypy -p precise_scheduler --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