Skip to content

Commit 88d4aaf

Browse files
committed
Enable doctests
1 parent 7907852 commit 88d4aaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ test = [
6868
"pytest-cov",
6969
"s3fs",
7070
"pytest-asyncio",
71+
"pytest-doctestplus",
7172
"moto[s3]",
7273
"requests",
7374
"mypy",
@@ -136,7 +137,7 @@ numpy = ["1.25", "2.1"]
136137
features = ["gpu"]
137138

138139
[tool.hatch.envs.test.scripts]
139-
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src"
140+
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src --doctest-rst"
140141
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
141142
run = "run-coverage --no-cov"
142143
run-verbose = "run-coverage --verbose"

0 commit comments

Comments
 (0)