Enable flake8-annotations linting rules (#267)
See https://docs.astral.sh/ruff/rules/#flake8-annotations-ann.
This commit is contained in:
@@ -9,7 +9,7 @@ Unfortunately images creation date cannot be retrieved, so we had to use the tag
|
||||
METHOD = "docker_hub"
|
||||
|
||||
|
||||
def fetch_releases(product, config, url):
|
||||
def fetch_releases(product: endoflife.Product, config: endoflife.AutoConfig, url: str) -> None:
|
||||
data = http.fetch_url(url).json()
|
||||
|
||||
for result in data["results"]:
|
||||
|
||||
Reference in New Issue
Block a user