forked from gawel/pyquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (40 loc) · 780 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
[tox]
envlist=py37,py38,py39,py310,py311
[testenv]
whitelist_externals=
rm
passenv=
MOZ_HEADLESS
commands =
pytest []
deps =
py38: selenium
-e .[test]
[testenv:flake8]
skipsdist=true
skip_install=true
basepython = python3.9
commands =
flake8 pyquery tests
deps =
flake8
[testenv:docs]
skip_install=false
skipsdist=true
basepython = python3.9
changedir = docs
deps =
sphinx
Pygments
allowlist_externals =
rm
commands =
rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
# [testenv:selenium]
# basepython = python3.5
# deps =
# selenium
# commands =
# {envbindir}/python -m unittest seleniumtests.offline
# {envbindir}/python -m unittest seleniumtests.browser