From 8f6878b66b9d6b3b075309d49fc9a2b8fe14774a Mon Sep 17 00:00:00 2001 From: ppinchuk Date: Mon, 20 Oct 2025 16:09:10 -0600 Subject: [PATCH 1/2] Run docs on newer python version --- .github/workflows/gh_pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh_pages.yml b/.github/workflows/gh_pages.yml index e609405b..26208f2e 100644 --- a/.github/workflows/gh_pages.yml +++ b/.github/workflows/gh_pages.yml @@ -13,7 +13,7 @@ jobs: - name: select python version uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: 3.11 - name: install dependencies run: | python -m pip install --upgrade pip From 4069437f1e7e388fe1189a81d44bcbbc47a8c48c Mon Sep 17 00:00:00 2001 From: ppinchuk Date: Mon, 20 Oct 2025 16:13:45 -0600 Subject: [PATCH 2/2] minor docstring updates --- elm/web/website_crawl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elm/web/website_crawl.py b/elm/web/website_crawl.py index 01c6962d..09cccfcb 100644 --- a/elm/web/website_crawl.py +++ b/elm/web/website_crawl.py @@ -87,7 +87,7 @@ def __init__(self, keyword_points=None): keyword_points : dict, optional Dictionary mapping keywords to their associated point values for scoring URLs. If ``None``, uses - :obj:`BEST_ZONING_ORDINANCE_KEYWORDS`. + :obj:`elm.web.website_crawl.BEST_ZONING_ORDINANCE_KEYWORDS`. By default, ``None``. """ self.keyword_points = keyword_points or BEST_ZONING_ORDINANCE_KEYWORDS @@ -102,7 +102,7 @@ async def score(self, links): Parameters ---------- - links : list of dicts + links : list of dict A list of dictionaries representing links to be scored. Each dictionary should contain at least the keys "text" and "href". The "text" key should contain the link title text, @@ -110,7 +110,7 @@ async def score(self, links): Returns ------- - links : list of dicts + links : list of dict The input list of links with an additional key "score" added to each dictionary. Each "score" key contains the calculated score for that link.