Add a type hint mypy suddenly decided it wants
All checks were successful
CI via Tox / tox (pull_request) Successful in 1m24s

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2026-05-12 18:29:05 -07:00
commit 6fb96bd9ae

View file

@ -51,7 +51,7 @@ DNFARGS = ["dnf", "--setopt", f"cachedir={DNFTEMP.name}", "-q", "--disablerepo=*
SUBPCAPTURE = partial(subprocess.run, capture_output=True, text=True, check=False)
SUBPCAPTCHECK = partial(subprocess.run, capture_output=True, text=True, check=True)
SUBPCHECK = partial(subprocess.run, check=True)
REPOHASHES = {}
REPOHASHES: dict[str, str] = {}
def hash_repo(repo: str) -> str: