Skip to content

Commit 0dc4bb5

Browse files
authored
Merge pull request #738 from onekey-sec/pytest-cov-4.1.0
chore(deps): upgrade pytest-cov to 4.1.0, pytest to 8.0.0
2 parents 075dd14 + 65abebf commit 0dc4bb5

File tree

2 files changed

+45
-31
lines changed

2 files changed

+45
-31
lines changed

poetry.lock

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ pyfatfs = "^1.0.5"
3535
optional = true
3636

3737
[tool.poetry.group.dev.dependencies]
38-
pytest = "^7.4.4"
38+
pytest = "^8.0.0"
3939
pyright = "^1.1.349"
4040
pre-commit = "^3.5.0"
41-
pytest-cov = "^3.0.0"
42-
ruff = ">=0.1.13,<0.3.0"
41+
pytest-cov = ">=3,<5"
42+
ruff = "^0.1.13"
4343
pyyaml = "^6.0.1"
4444
atheris = { version = "^2.3.0", python = "<3.12" }
4545

@@ -152,6 +152,20 @@ norecursedirs = """
152152
tests/integration
153153
"""
154154

155+
[tool.coverage.paths]
156+
source = ["unblob", "tests"]
157+
158+
[tool.coverage.run]
159+
branch = true
160+
parallel = true
161+
sigterm = true
162+
concurrency = ["multiprocessing"]
163+
source = ["unblob", "tests"]
164+
165+
[tool.coverage.report]
166+
skip_covered = true
167+
fail_under = 90
168+
155169
[tool.vulture]
156170
paths = ["unblob/", "vulture_whitelist.py" ]
157171
exclude = ["unblob/testing.py"]

0 commit comments

Comments
 (0)