Explicitly define the return type of get_url_from_feed(config)

This commit explicitly defines the return type of the
get_url_from_feed(config) function.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2022-09-13 20:19:03 +01:00
parent 1460f92f02
commit 52ccc2e676
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43

View File

@ -45,7 +45,7 @@ def setup_logging() -> None:
return None
def get_url_from_feed(config):
def get_url_from_feed(config) -> str:
"""
This function returns the URL from a feed.
"""