Pytestless doctests 2 - #196
Draft
pp-mo wants to merge 17 commits into
Draft
Conversation
pp-mo
force-pushed
the
pytestless_doctests_2
branch
from
August 10, 2026 10:12
ba1577c to
84f674f
Compare
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #177
Rebased to resolve conflicts,
and, since we moved the repo into SciTools, also replace the branch with one in my fork (pp-mo/ncdata)
##TODO
Issues inherited from #177
find better way, or document, the odd way we are doing globs(update: it seems there just isn't an easier way)possible problems with less usual glob forms (in include/target specs)(update: OK I think)support proper globs in exclude patterns ?(update: investigated, not very useful + too hard to explain)lack of global options config (? use a(update: investigated, too complicated to integrate with standard argparse, since defaults (especially bools) obscure what was actually commanded)pyproject.tomlsection ?)(and some more added since)
1 item had failures:17 of 30 in lenient_metadata.rst***Test Failed*** 17 failures and 9 skipped tests.ability to detect + skip internal sections that APPEAR like doctests, e.g. in ".. codeblock::"(dropped: non-trival and would require deeper engagement with the doctests api, beyond 'testmod
/testfile)