-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtox.ini
More file actions
20 lines (17 loc) · 564 Bytes
/
tox.ini
File metadata and controls
20 lines (17 loc) · 564 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = 3.8, 3.9, 3.10, 3.11, pre-commit
isolated_build = true
[testenv]
install_command = python -m pip install {opts} {packages}
extras =
tests
commands =
python -m pytest -v --cov unexport {posargs}
[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files