Skip to content

Commit 211ce18

Browse files
committed
move cov-report creation to outside pre-commit checks
1 parent 5672bfb commit 211ce18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def test_docs(session):
7474
"pytest",
7575
"--html=docs/pytest_report.html",
7676
"--self-contained-html",
77+
"--cov-report",
78+
"html:docs/cov-report"
7779
)
7880

7981

{{cookiecutter.project_name}}/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ warn_untyped_fields = True
4141
ignore_errors = True
4242

4343
[tool:pytest]
44-
addopts = --verbose --color=yes --cov=src --cov-fail-under=100 --cov-report html:docs/cov-report --cov-report term-missing --doctest-modules
44+
addopts = --verbose --color=yes --cov=src --cov-fail-under=100 --cov-report term-missing --doctest-modules
4545
#addopts = --html=docs/pytest_report.html --self-contained-html --verbose --color=yes --cov=src --cov-fail-under=100 --cov-report html:docs/cov-report --cov-report term-missing --doctest-modules
4646
testpaths =
4747
tests

0 commit comments

Comments
 (0)