refactor: annotate every remaining signature

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 00:44:20 +02:00
1 parent 5961b6bfe7
commit faa8af0800
52 files changed
+261 -145

No files matched your search

+2 -2
View File
@@ -348,7 +348,7 @@ def _preserve_large_file_entries(files: dict, db_path: str) -> int:
return count
def main():
def main() -> int:
parser = argparse.ArgumentParser(description="Generate multi-indexed BIOS database")
parser.add_argument("--force", action="store_true", help="Force rehash all files")
parser.add_argument(
@@ -462,7 +462,7 @@ def _collect_all_aliases(files: dict) -> dict:
aliases = {}
def _add_alias(name: str, matched_sha1: str):
def _add_alias(name: str, matched_sha1: str) -> None:
if not name or name in name_to_sha1:
return
if matched_sha1 not in aliases: