From f7ed1faed46f448c5fa3cfa2bf6c845aa5598819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 21 Mar 2023 09:14:55 +0100 Subject: [PATCH] apply black to nur/index.py --- ci/nur/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/nur/index.py b/ci/nur/index.py index 8237589a1..2255169d4 100644 --- a/ci/nur/index.py +++ b/ci/nur/index.py @@ -26,7 +26,6 @@ def resolve_source(pkg: Dict, repo: str, url: str) -> str: } stripped = path.parts[4:] if path.parts[3].endswith("source"): - canonical_url = url # if we want to add the option of specifying branches, we have to update this if "github" in url: @@ -102,7 +101,7 @@ def index_command(args: Namespace) -> None: repos = manifest.get("repos", []) pkgs: Dict[str, Any] = {} - for (repo, data) in repos.items(): + for repo, data in repos.items(): repo_pkgs = index_repo( directory, repo,