Need to use coverage[toml] on CI

This commit is contained in:
Alessio Bogon 2022-07-27 20:09:56 +02:00
parent 2d64e9f135
commit 31122fad7c
3 changed files with 6 additions and 3 deletions

5
poetry.lock generated
View File

@ -36,6 +36,9 @@ category = "dev"
optional = false optional = false
python-versions = ">=3.7" python-versions = ">=3.7"
[package.dependencies]
tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""}
[package.extras] [package.extras]
toml = ["tomli"] toml = ["tomli"]
@ -393,7 +396,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.7" python-versions = "^3.7"
content-hash = "df6b1bbde0757a00774e321bba9d717220f19b68ebd7509814b040b23bc6cb5b" content-hash = "372d2e36073ab2a89fbd2017e83d3c21137bce199a1816bd8d9bda79a7277409"
[metadata.files] [metadata.files]
atomicwrites = [ atomicwrites = [

View File

@ -47,7 +47,7 @@ tox = "^3.25.1"
mypy = "^0.961" mypy = "^0.961"
types-setuptools = "^57.4.18" types-setuptools = "^57.4.18"
pytest-xdist = "^2.5.0" pytest-xdist = "^2.5.0"
coverage = "^6.4.2" coverage = {extras = ["toml"], version = "^6.4.2"}
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]

View File

@ -23,7 +23,7 @@ deps =
pytest51: pytest~=5.1.0 pytest51: pytest~=5.1.0
pytest50: pytest~=5.0.0 pytest50: pytest~=5.0.0
coverage: coverage coverage: coverage[toml]
xdist: pytest-xdist xdist: pytest-xdist
commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl} commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl}