From 9b088c3a506bc3d458c5a6efa853560293f5f4db Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 19 Dec 2024 12:00:17 -0500 Subject: [PATCH] re-enable use of pypi filter in our doc build Related to #227 --- docs/source/conf.py | 2 +- docs/source/history.rst | 3 --- tests/test_filter.py | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index cb73891..1d2577a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -32,7 +32,7 @@ ] spelling_show_suggestions = True -spelling_ignore_pypi_package_names = False +spelling_ignore_pypi_package_names = True spelling_ignore_contributor_names = True # Add any paths that contain templates here, relative to this directory. diff --git a/docs/source/history.rst b/docs/source/history.rst index 2ad6802..de22101 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -14,13 +14,10 @@ libenchant macOS namespace - pbr - pyenchant repo scm setuptools testrepository - tox unicode unmaintained diff --git a/tests/test_filter.py b/tests/test_filter.py index 5b4bdf2..d0ab29b 100644 --- a/tests/test_filter.py +++ b/tests/test_filter.py @@ -151,3 +151,4 @@ def test_importable_module_with_system_exit(tmpdir): def test_pypi_filter_factory(): f = filters.PyPIFilterFactory() assert "sphinxcontrib-spelling" in f.words + assert "setuptools" in f.words