diff --git a/flavors/lineageos/update_device_metadata.py b/flavors/lineageos/update_device_metadata.py index 286701eb..79f710b2 100755 --- a/flavors/lineageos/update_device_metadata.py +++ b/flavors/lineageos/update_device_metadata.py @@ -4,7 +4,6 @@ from typing import Any import json -import urllib.request import os import pathlib diff --git a/scripts/robotnix_common.py b/scripts/robotnix_common.py index 04718539..0f1a21e1 100644 --- a/scripts/robotnix_common.py +++ b/scripts/robotnix_common.py @@ -32,7 +32,7 @@ def save(filename: str, data: Any) -> None: ) -def get_store_path(path): +def get_store_path(path: str) -> str: """Get actual path to a Nix store path; supports handling local remotes""" prefix = os.getenv("NIX_REMOTE") if prefix and not prefix.startswith("/"):