Skip to content

Commit

Permalink
Fix outstanding Python lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jaen committed May 26, 2024
1 parent c3615c1 commit 79cd7a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion flavors/lineageos/update_device_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from typing import Any
import json
import urllib.request
import os
import pathlib

Expand Down
2 changes: 1 addition & 1 deletion scripts/robotnix_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("/"):
Expand Down

0 comments on commit 79cd7a5

Please sign in to comment.