forked from scrapinghub/dateparser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 645 Bytes
/
tox.ini
File metadata and controls
38 lines (33 loc) · 645 Bytes
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
[tox]
envlist = flake8, py3
[base]
deps =
-rdateparser_scripts/requirements.txt
-rtests/requirements.txt
[testenv]
deps =
{[base]deps}
tzlocal<3.0b1
extras = calendars, fasttext, langdetect
commands =
pytest --cov=dateparser --cov-report=xml {posargs: tests}
[testenv:latest]
deps =
{[base]deps}
tzlocal>=3.0b1
[testenv:flake8]
basepython = python3
extras = calendars, fasttext, langdetect
deps =
{[testenv]deps}
pytest-flake8
commands =
pytest --flake8
[testenv:docs]
changedir = docs
deps =
{[testenv]deps}
sphinx
sphinx-rtd-theme
commands =
sphinx-build -b html . {envtmpdir}/html