Skip to content

Commit 88b3744

Browse files
committed
Changed opts to doctest
1 parent 5e78e5b commit 88b3744

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ filterwarnings = [
3030
# Adding settings from tox.ini for pytest
3131
testpaths = ["tests", "patterns"]
3232
python_files = ["test_*.py", "*_test.py"]
33-
doctest_modules = ["patterns"]
33+
# Enable doctest discovery in patterns directory
34+
addopts = "--doctest-modules"
35+
doctest_optionflags = ["ELLIPSIS", "NORMALIZE_WHITESPACE"]
3436
randomly_seed = 1234
3537
log_level = "INFO"
3638

0 commit comments

Comments
 (0)