mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 17:33:30 -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
@@ -199,7 +199,7 @@ def board_cores(text: str, board: str, enabled: set[str]) -> set[str]:
|
||||
class Scraper(BaseScraper):
|
||||
"""Scraper for Recalbox es_bios.xml."""
|
||||
|
||||
def __init__(self, tag: str | None = None):
|
||||
def __init__(self, tag: str | None = None) -> None:
|
||||
# A target scraper passes the tag platforms/recalbox.yml pins.
|
||||
self.tag = tag or _fetch_gitlab_stable_tag()
|
||||
super().__init__(url=SOURCE_URL.format(tag=self.tag))
|
||||
@@ -365,7 +365,7 @@ class Scraper(BaseScraper):
|
||||
}
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
"""CLI entry point."""
|
||||
from .base_scraper import scraper_cli
|
||||
|
||||
|
||||
Reference in new issue
Block a user