Skip to content

Commit 0106dad

Browse files
committed
Fix outstanding Python lint issues
1 parent dc8a64c commit 0106dad

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

flavors/lineageos/update_device_metadata.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from typing import Any
66
import json
7-
import urllib.request
87
import os
98
import pathlib
109

scripts/robotnix_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def save(filename: str, data: Any) -> None:
3232
)
3333

3434

35-
def get_store_path(path):
35+
def get_store_path(path: str) -> str:
3636
"""Get actual path to a Nix store path; supports handling local remotes"""
3737
prefix = os.getenv("NIX_REMOTE")
3838
if prefix and not prefix.startswith("/"):

0 commit comments

Comments
 (0)