-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
30 lines (27 loc) · 808 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
# TODO: we need to test with the three supported character
# encoding autodetection libraries: cchardet, chardet, and charset-normalizer
[tox]
env_list =
py{37, 38, 39, 310, 311, 312},bare,docs
minversion = 3.28.0
skip_missing_interpreters = true
[testenv]
package = wheel
wheel_build_env = .pkg
description = run the tests with all dependencies installed
deps = lxml
html5lib
packaging
soupsieve>=2.6
pytest>=6
typing_extensions
commands = pytest {tty:--color=yes} {posargs}
[testenv:docs]
basepython = python3
description = build the documentation
deps = sphinx
commands = sphinx-build -b html doc doc/build/html
[testenv:bare]
description = run the tests on the oldest supported version of Python, without any dependencies installed
basepython = python3.7
deps = pytest>=6