mirror of https://github.com/Textualize/rich.git
Update tox.ini for poetry
This commit is contained in:
parent
f513abd35f
commit
5b666af37a
8
tox.ini
8
tox.ini
|
@ -8,11 +8,8 @@ isolated_build = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
description = Run unit-testing
|
description = Run unit-testing
|
||||||
# develop temporary disabled as project packaging does not work with it yet:
|
|
||||||
# https://github.com/willmcgugan/rich/issues/345
|
|
||||||
usedevelop = False
|
|
||||||
deps =
|
deps =
|
||||||
-r requirements-dev.txt
|
poetry
|
||||||
# do not put * in passenv as it may break builds due to reduced isolation
|
# do not put * in passenv as it may break builds due to reduced isolation
|
||||||
passenv =
|
passenv =
|
||||||
CI
|
CI
|
||||||
|
@ -25,8 +22,7 @@ setenv =
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
PYTHONUNBUFFERED=1
|
PYTHONUNBUFFERED=1
|
||||||
commands =
|
commands =
|
||||||
# failsafe as older pip may install incompatible dependencies
|
poetry install
|
||||||
pip check
|
|
||||||
pytest --cov-report term-missing --cov=rich tests/ {posargs}
|
pytest --cov-report term-missing --cov=rich tests/ {posargs}
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
|
|
Loading…
Reference in New Issue