-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (24 loc) · 672 Bytes
/
tox.ini
File metadata and controls
26 lines (24 loc) · 672 Bytes
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
[tox]
minversion = 3.14.0
envlist = py{310,314,py}-pytest_latest-supported-xdist
qa
requires = virtualenv>=20.0.31
[testenv]
install_command = python -m pip install --use-feature=fast-deps {opts} {packages}
deps =
pytest7: pytest~=7.4
pytest_latest: pytest
termcolor>=1.1.0
supported-xdist: pytest-xdist
supported-xdist: pytest-forked
pytest-cov
flaky
commands =
pytest --cov --cov-config=.coveragerc {posargs:test_sugar.py}
[testenv:qa]
deps =
flake8
black
commands =
flake8 {posargs:conftest.py pytest_sugar.py setup.py test_sugar.py}
black --check {posargs:conftest.py pytest_sugar.py setup.py test_sugar.py}