Skip to content

Commit 91c8054

Browse files
require coverage[toml] to support pyproject.toml on Python < 3.11
1 parent e1510f0 commit 91c8054

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ commands = [["bandit", "-r", "src/borg", "-c", "pyproject.toml"]]
212212
[tool.coverage.run]
213213
branch = true
214214
disable_warnings = ["module-not-measured", "no-ctracer"]
215-
source = "src/borg"
215+
source = ["src/borg"]
216216
omit = [
217217
"*/borg/__init__.py",
218218
"*/borg/__main__.py",

requirements.d/development.lock.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pkgconfig==1.5.5
88
tox==4.26.0
99
pytest==8.4.0
1010
pytest-xdist==3.7.0
11+
coverage[toml]==7.9.1
1112
pytest-cov==6.2.1
1213
pytest-benchmark==5.1.0
1314
Cython==3.1.2

requirements.d/development.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pkgconfig
88
tox
99
pytest
1010
pytest-xdist
11+
coverage[toml]
1112
pytest-cov
1213
pytest-benchmark
1314
Cython

0 commit comments

Comments
 (0)