Reading through docs and usage examples and trying various things myself, I believe there's a usage gap that can be addressed.
As a user of xdoctest in a complex project which include multiple sub-modules, the following questions come to mind:
- How does a user configure multiple files/modules for
xdoctest to run with a single command?
- How does a user trigger
xdoctest with a default configuration for a project?
- How does a user re-use said configuration with the
xdoctest pytest plugin?
Proposal:
- Add support for running
xdoctest on multiple modules at a time.
- Add support an explicit parameter name for the
args option (which after 1., can accept multiple module paths)
- Expose all of the CLI parameters to the
pyproject.toml file under tool.xdoctest
- Override configured parameters using CLI invocation arguments, of course
This would mimic the behavior of popular tools such as Coverage.py, which allows collecting coverage from specific locations as opposed to only one root module, all configurable through a single tool.coverage section in the pyproject.toml.
Reading through docs and usage examples and trying various things myself, I believe there's a usage gap that can be addressed.
As a user of
xdoctestin a complex project which include multiple sub-modules, the following questions come to mind:xdoctestto run with a single command?xdoctestwith a default configuration for a project?xdoctestpytest plugin?Proposal:
xdocteston multiple modules at a time.argsoption (which after 1., can accept multiple module paths)pyproject.tomlfile undertool.xdoctestThis would mimic the behavior of popular tools such as
Coverage.py, which allows collecting coverage from specific locations as opposed to only one root module, all configurable through a singletool.coveragesection in thepyproject.toml.