Skip to content

Commit

Permalink
Add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Aug 14, 2022
1 parent 315278b commit 3787f99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xdoctest/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ def doctest_module(module_identifier=None, command=None, argv=None, exclude=[],
ignores any modname matching any of these glob-like patterns
config (Dict[str, object]):
modifies each examples configuration
modifies each examples configuration. Defaults and
expected keys are documented in
:class:`xdoctest.doctest_example.DoctestConfig`
durations (int | None): if specified report top N slowest tests
Expand Down Expand Up @@ -612,6 +614,7 @@ def _parse_commandline(command=None, style='auto', verbose=None, argv=None):
command = argv[0]

# Change how docstrs are found
# TODO: Undocumented flags. Either document in argparse or remove.
if '--freeform' in argv:
style = 'freeform'
elif '--google' in argv:
Expand Down

0 comments on commit 3787f99

Please sign in to comment.