mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 03:48:52 -06:00
refactor: move leaf modules into packages
core: hashing, artifacts, ziptools, deterministic_zip, romdir, sect233r1, crypto_verify, paths (REPO_ROOT). model: safeparse (needs yaml), dumpcatalog, largefiles, alternatives. resolve: nativemode, validation, launchers, slot, truth, gamedata, and exporter/baseline.py and exporter/candidates.py as resolve/reconcile.py and resolve/categories.py, which truth and gamedata read. Every importer follows. Modules one level deeper read the repository root from core.paths instead of __file__.
This commit is contained in:
1 parent
23d8a770f1
commit
c784aef883
167 files changed
+412
-434
No files matched your search
@@ -59,7 +59,7 @@ class ContentFoundLabelsTakeTheirRegionSlot(unittest.TestCase):
|
||||
import hashlib
|
||||
import tempfile
|
||||
|
||||
from validation import _build_validation_index, check_file_validation
|
||||
from resolve.validation import _build_validation_index, check_file_validation
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
path = Path(tmp) / "scph1001.bin"
|
||||
@@ -96,7 +96,7 @@ class GearcolecoWarnsOnAnUnknownRevision(unittest.TestCase):
|
||||
|
||||
import yaml
|
||||
|
||||
from validation import _build_validation_index, check_file_validation
|
||||
from resolve.validation import _build_validation_index, check_file_validation
|
||||
|
||||
profile = yaml.safe_load(
|
||||
(REPO_ROOT / "emulators" / "gearcoleco.yml").read_text(encoding="utf-8")
|
||||
|
||||
Reference in new issue
Block a user