forked from pimutils/khal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (50 loc) · 1007 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
50
51
52
53
54
55
56
[tox]
envlist = {py38,py310}-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
[testenv:docs]
whitelist_externals = make
commands =
pip install -r doc/requirements.txt
make -C doc html
make -C doc man
[flake8]
max-line-length = 100
ignore = E252,W504,E121,B008
exclude = .tox,examples,doc
extend-ignore =
# Line jump before binary operator.
W503,
[mypy]
# Silence warnings given by using untyped libraries:
ignore_missing_imports = True
# See https://github.com/python/mypy/issues/7511:
warn_no_return = False