forked from pyenchant/pyenchant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
58 lines (47 loc) · 938 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
57
[tox]
envlist = py35, py36, py37, py38, pypy3
[testenv]
# pytest-cov does not seem to work if we
# don't use usedevelop
usedevelop = true
deps =
requests
pytest
pytest-cov
commands =
python bootstrap.py
pytest {posargs:--cov --cov-report term --cov-report html --verbose --capture=no}
[testenv:website]
basepython = python3
deps =
sphinx
sphinx-rtd-theme
changedir = website
commands = sphinx-build -W -c . -d build/ -b html content/ html/
[testenv:website-dev]
basepython = python3
deps =
sphinx
sphinx-rtd-theme
sphinx-autobuild
changedir = website
commands = sphinx-autobuild -c . -d build/ -b html content/ html/
[testenv:linters]
basepython = python3
deps =
black==19.10b0
flake8==3.7.9
pep8-naming
regex==2019.11.1
commands =
black --check .
flake8 enchant tests
[testenv:release]
basepython = python3
deps =
requests
twine
wheel
commands =
python release.py
twine upload dist/*