forked from pimutils/khal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (44 loc) · 878 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
40
41
42
43
44
45
46
47
48
49
[tox]
envlist = {py38,py310,py311}-tests,py39-tests-{pytz2018.7,pytz_latest}
skip_missing_interpreters = True
[testenv]
ignore_errors = True
passenv =
LANG
CI
TRAVIS
TRAVIS_BRANCH
TRAVIS_BUILD_ID
TRAVIS_COMMIT
TRAVIS_JOB_ID
TRAVIS_JOB_NUMBER
TRAVIS_PULL_REQUEST
TRAVIS_REPO_SLUG
deps =
pytest
freezegun
!py36: vdirsyncer
py36: vdirsyncer==0.16.8
python-dateutil
pytz20187: pytz==2018.7
pytz_latest: pytz
hypothesis
commands =
py.test {posargs}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv:docs]
whitelist_externals = make
commands =
pip install -r doc/requirements.txt
make -C doc html
make -C doc man
[mypy]
# Silence warnings given by using untyped libraries:
ignore_missing_imports = True
# See https://github.com/python/mypy/issues/7511:
warn_no_return = False