forked from AcademySoftwareFoundation/OpenTimelineIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (48 loc) · 1.45 KB
/
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 = clean,py27,py35,py36,stats
skip_missing_interpreters = true
[flake8]
exclude = .tox,*.egg,build,venv,__pycache__,docs,dist,.git,
select = E,W,F
max-line-length = 88
# @TODO: for now, ignoring both line continuation before OR after binary
# operators. The pep8 style seems to have adopted the W504 style as
# correct, which we've been doing conventionally but not 100% uniformly.
# At some point in the future, we should remove W504 from this list and
# conform all the conitnuation to be the same.
ignore=W503,W504
[testenv]
deps =
coverage
check-manifest
flake8
Pillow
mock
commands =
git clone https://github.com/markreidvfx/pyaaf2
pip install -e pyaaf2
check-manifest --ignore tox.ini,tests*,requirements* --ignore-bad-ideas *.egg-info,*egg-info/*
flake8 opentimelineio
coverage run -a --source=opentimelineio -m unittest discover tests -vvv
coverage run -a --source=opentimelineio_contrib/adapters -m unittest discover opentimelineio_contrib/adapters/tests -vvv
coverage report --include=* -m
[testenv:clean]
commands =
coverage erase
[testenv:stats]
commands =
coverage report
coverage html
[testenv:build-docs]
changedir = docs
deps =
sphinx
sphinx-rtd-theme
recommonmark
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:dist]
skip_install = True
deps = wheel
commands =
python setup.py bdist_wheel --universal