require coverage[toml] to support pyproject.toml on Python < 3.11

This commit is contained in:
Thomas Waldmann 2025-06-14 20:07:57 +02:00
parent e1510f0c73
commit 91c8054215
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
3 changed files with 3 additions and 1 deletions

View file

@ -212,7 +212,7 @@ commands = [["bandit", "-r", "src/borg", "-c", "pyproject.toml"]]
[tool.coverage.run]
branch = true
disable_warnings = ["module-not-measured", "no-ctracer"]
source = "src/borg"
source = ["src/borg"]
omit = [
"*/borg/__init__.py",
"*/borg/__main__.py",

View file

@ -8,6 +8,7 @@ pkgconfig==1.5.5
tox==4.26.0
pytest==8.4.0
pytest-xdist==3.7.0
coverage[toml]==7.9.1
pytest-cov==6.2.1
pytest-benchmark==5.1.0
Cython==3.1.2

View file

@ -8,6 +8,7 @@ pkgconfig
tox
pytest
pytest-xdist
coverage[toml]
pytest-cov
pytest-benchmark
Cython