Skip to content

Commit 376e026

Browse files
authored
Enable doctests by default (#12)
1 parent bb2a1f8 commit 376e026

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ write_to = "src/docstub/_version.py"
5959

6060

6161
[tool.ruff]
62-
src = ["src"]
62+
src = ["src", "tests"]
6363

6464
[tool.ruff.lint]
6565
extend-select = [
@@ -90,6 +90,14 @@ ignore = [
9090
]
9191

9292

93+
[tool.pytest.ini_options]
94+
addopts = "--doctest-modules"
95+
testpaths = [
96+
"src",
97+
"tests",
98+
]
99+
100+
93101
[tool.coverage]
94102
run.source = ["docstub"]
95103

0 commit comments

Comments
 (0)