Skip to content

Commit 545bc2a

Browse files
committed
Include package doctests in the default test run
1 parent 6b817b9 commit 545bc2a

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ num_workers = 4
110110
show_error_codes = true
111111

112112
[tool.pytest]
113-
addopts = [ "--color=yes" ]
113+
addopts = [ "--color=yes", "--doctest-modules", "--pyargs" ]
114114
filterwarnings = [ "error" ]
115115
minversion = "9.0"
116-
testpaths = [ "tests" ]
116+
testpaths = [ "tests", "humanize" ]
117117

118118
[tool.coverage]
119119
run.disable_warnings = [ "no-sysmon" ] # 3.11

‎tox.ini‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,3 @@ deps =
4141
-r requirements-mypy.txt
4242
commands =
4343
mypy . {posargs}
44-
45-
[pytest]
46-
addopts = --color=yes --doctest-modules

0 commit comments

Comments
 (0)