Skip to content

Commit

Permalink
Update pytest-cov requirement from ~=3.0 to >=3,<7 (#4297)
Browse files Browse the repository at this point in the history
* Update pytest-cov requirement from ~=3.0 to >=3,<7

Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v3.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* try adding coveragerc file

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* move to pyproject

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Also add thread

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmitry Sorokin <40151847+DimedS@users.noreply.github.com>
Co-authored-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
  • Loading branch information
3 people authored Nov 14, 2024
1 parent 9464dc7 commit 840a09b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test = [
"pandas~=2.0",
"pluggy>=1.0",
"pre-commit>=2.9.2, <5.0", # The hook `mypy` requires pre-commit version 2.9.2.
"pytest-cov~=3.0",
"pytest-cov>=3,<7",
"pytest-mock>=1.7.1, <4.0",
"pytest-xdist[psutil]~=2.2.1",
"pytest>=7.2,<9.0",
Expand Down Expand Up @@ -136,6 +136,11 @@ omit = [
]
exclude_also = ["raise NotImplementedError", "if TYPE_CHECKING:", "class CatalogProtocol"]

[tool.coverage.run]
concurrency = ["multiprocessing", "thread"]
parallel = true
sigterm = true

[tool.pytest.ini_options]
addopts="""
--cov-context test \
Expand Down

0 comments on commit 840a09b

Please sign in to comment.