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 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.