-
Notifications
You must be signed in to change notification settings - Fork 140
/
tox.ini
27 lines (24 loc) · 639 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
[tox]
envlist = cleanup, py{38,310,311,312}, style # Skip py39 since it chokes on distutils.
skip_missing_interpreters = true
# Erase old coverage results, then accumulate them during this tox run.
[testenv:cleanup]
deps =
coverage==7.0.5
commands =
coverage erase
[testenv]
deps =
coverage==7.0.5
pint # Use latest version to catch API changes.
pytest==7.4.2
pytest-cov==4.0.0
commands =
pytest {posargs}
# Install package as wheel in all envs (https://hynek.me/articles/turbo-charge-tox/).
package = wheel
wheel_build_env = .pkg
[pytest]
filterwarnings =
error::DeprecationWarning
error::PendingDeprecationWarning