forked from pimutils/khal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (47 loc) · 928 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
[tox]
envlist = {py34,py35,py36}-{tests,style,mypy}-{pytz201702,pytz201610,pytz_latest}
skip_missing_interpreters = True
[testenv]
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
vdirsyncer
pytz201702: pytz==2017.2
pytz201610: pytz==2016.10
pytz_latest: pytz
py34: typing
commands =
py.test {posargs}
[testenv:style]
skip_install=True
whitelist_externals = sh
deps = flake8
commands =
flake8 tests khal setup.py
sh -c '! grep -ri seperat */*'
[testenv:docs]
whitelist_externals = make
commands =
pip install -r doc/requirements.txt
make -C doc html
make -C doc man
[testenv:mypy]
skip_install=True
whitelist_externals = sh
deps = mypy
commands =
mypy --ignore-missing-imports khal
[flake8]
max-line-length = 100
exclude=.tox,examples,doc