-
Notifications
You must be signed in to change notification settings - Fork 467
/
tox.ini
49 lines (43 loc) · 845 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
[tox]
envlist = flake8, py3
[base]
deps =
-rdateparser_scripts/requirements.txt
-rtests/requirements.txt
-rfuzzing/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
extras = []
deps =
{[testenv]deps}
-rdocs/requirements.txt
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:twinecheck]
basepython = python3
extras = []
deps =
twine==4.0.2
build==1.0.3
commands =
python -m build --sdist
twine check dist/*