replace hardcoded links to bugs.python.org with extlinks

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
oleg.hoefling 2021-10-21 19:59:04 +02:00
parent 7037a58711
commit 36265ccbf6
No known key found for this signature in database
GPG Key ID: 0F2974E780119EEA
2 changed files with 2 additions and 1 deletions

View File

@ -1397,7 +1397,7 @@ Bug Fixes
- :issue:`5914`: pytester: fix :py:func:`~_pytest.pytester.LineMatcher.no_fnmatch_line` when used after positive matching. - :issue:`5914`: pytester: fix :py:func:`~_pytest.pytester.LineMatcher.no_fnmatch_line` when used after positive matching.
- :issue:`6082`: Fix line detection for doctest samples inside :py:class:`python:property` docstrings, as a workaround to `bpo-17446 <https://bugs.python.org/issue17446>`__. - :issue:`6082`: Fix line detection for doctest samples inside :py:class:`python:property` docstrings, as a workaround to :bpo:`17446`.
- :issue:`6254`: Fix compatibility with pytest-parallel (regression in pytest 5.3.0). - :issue:`6254`: Fix compatibility with pytest-parallel (regression in pytest 5.3.0).

View File

@ -162,6 +162,7 @@ linkcheck_workers = 5
_repo = "https://github.com/pytest-dev/pytest" _repo = "https://github.com/pytest-dev/pytest"
extlinks = { extlinks = {
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
"pypi": ("https://pypi.org/project/%s/", ""), "pypi": ("https://pypi.org/project/%s/", ""),
"issue": (f"{_repo}/issues/%s", "issue #"), "issue": (f"{_repo}/issues/%s", "issue #"),
} }