Add #noqa and #TODOs

This commit is contained in:
2022-12-19 17:24:29 +01:00
parent 372c5bb3e7
commit b7d786e2c7
3 changed files with 10 additions and 5 deletions

View File

@ -34,7 +34,7 @@ def test_send_to_discord() -> None:
# Add tag to the feed and check if it is there.
reader.set_tag(feed, "webhook", webhook_url) # type: ignore
assert reader.get_tag(feed, "webhook") == webhook_url
assert reader.get_tag(feed, "webhook") == webhook_url # type: ignore
# Send the feed to Discord.
send_to_discord(custom_reader=reader, feed=feed, do_once=True)

View File

@ -35,7 +35,7 @@ def test_create_html_for_search_results() -> None:
reader.update_search()
# Get the HTML for the search results.
search_results: Iterable[EntrySearchResult] = reader.search_entries("a", feed=feed)
search_results: Iterable[EntrySearchResult] = reader.search_entries("a", feed=feed) # type: ignore
# Create the HTML and check if it is not empty.
search_html: str = create_html_for_search_results(search_results, reader)