mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
refactor: annotate every remaining signature
This commit is contained in:
1 parent
5961b6bfe7
commit
faa8af0800
52 files changed
+261
-145
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user