Skip to content

Commit c7c5eab

Browse files
committed
Linting.
1 parent 9ce1233 commit c7c5eab

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

seed_intersphinx_mapping/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
def sphinx_seed_intersphinx_mapping(app: Sphinx, config: Config) -> None:
4545
"""
46-
Updates the ``intersphinx_mapping`` dictionary in the sphinx configuration
46+
Updates the ``intersphinx_mapping`` dictionary in the sphinx configuration.
4747
to include the documentation for the project's requirements.
4848
4949
If :confval:`pkg_requirements_source` is a list, it is taken to be a list of directories

tests/test_integration.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ def requirements(tmp_path):
1919
def test_integration(requirements, the_app):
2020
# app is a Sphinx application object for default sphinx project (`tests/doc-test/test-root`).
2121
the_app.build()
22+
23+
domdf_python_tools_url = "https://domdf-python-tools.readthedocs.io/en/latest/"
24+
2225
assert the_app.env.config.intersphinx_mapping == {
23-
"domdf_python_tools":
24-
("domdf_python_tools", ("https://domdf-python-tools.readthedocs.io/en/latest/", (None, ))),
26+
"domdf_python_tools": ("domdf_python_tools", (domdf_python_tools_url, (None, ))),
2527
"packaging": ("packaging", ("https://packaging.pypa.io/en/latest/", (None, ))),
2628
"requests": ("requests", ("https://requests.readthedocs.io/en/master/", (None, ))),
2729
"pandas": ("pandas", ("https://pandas.pydata.org/pandas-docs/stable/", (None, ))),

0 commit comments

Comments
 (0)