I'm finally moving to projects with pyproject.toml. And in there I have
[tool.pytest.ini_options]
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS IGNORE_EXCEPTION_DETAIL"
but these are ignore by the command that doctestbtn uses:
python -m doctest -v
If it used
python -m pytest --doctest-modules
then (assuming the terminal in the project root), it would pick up the settings.
But some way for the doctestbtn to make sure the doc tests were run with the options specified in a pyproject.toml file would be great. Or even if it was possible to add then in an option.
I'm finally moving to projects with pyproject.toml. And in there I have
but these are ignore by the command that doctestbtn uses:
python -m doctest -vIf it used
python -m pytest --doctest-modulesthen (assuming the terminal in the project root), it would pick up the settings.
But some way for the doctestbtn to make sure the doc tests were run with the options specified in a pyproject.toml file would be great. Or even if it was possible to add then in an option.