diff --git a/doc/source/conf.py b/doc/source/conf.py index ee500b7..20fd22a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -316,7 +316,10 @@ def file_head(fn, *, head=None): # -- Options for linkcheck -------------------------------------------------- -linkcheck_ignore = [r"^https?://(\w+[.])?twitter[.]com.*$"] +linkcheck_ignore = [ + r"^https?://(\w+[.])?twitter[.]com.*$", + "https://opensource.org/license/MIT", +] linkcheck_anchors_ignore = [r"^L\d+$", r"^L\d+-L\d+$"] diff --git a/src/sphobjinv/cli/core_textconv.py b/src/sphobjinv/cli/core_textconv.py index 4ee2fe7..f55e64b 100644 --- a/src/sphobjinv/cli/core_textconv.py +++ b/src/sphobjinv/cli/core_textconv.py @@ -19,7 +19,7 @@ \(c) Brian Skinn 2016-2024 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable @@ -76,12 +76,10 @@ def print_stderr_2(thing, params_b, *, end=os.linesep): - r"""Bypass :func:`print_strerr `. + r"""Bypass parser dependent, print_strerr. Use along with :func:`unittest.mock.patch` whenever calling - :mod:`sphobjinv.cli` internals. - - print_strerr is parser dependent, so cannot be used. + sphobjinv.cli internals. Parameters ----------