Fix formatting

This commit is contained in:
Mykola Grymalyuk
2021-10-09 11:19:39 -06:00
parent 12998bc7e1
commit 06e0e9a2c0
21 changed files with 469 additions and 324 deletions
+5 -5
View File
@@ -1,4 +1,3 @@
import subprocess
from resources import build
from data import example_data, model_array
@@ -22,8 +21,9 @@ def validate(settings):
example_data.MacPro.MacPro41_Modern_AMD,
example_data.MacPro.MacPro41_51__Flashed_Modern_AMD,
]
settings.validate = True
def build_prebuilt():
for model in model_array.SupportedSMBIOS:
print(f"Validating predefined model: {model}")
@@ -36,7 +36,7 @@ def validate(settings):
raise Exception(f"Validation failed for predefined model: {model}")
else:
print(f"Validation succeeded for predefined model: {model}")
def build_dumps():
for model in valid_dumps:
settings.computer = model
@@ -50,7 +50,7 @@ def validate(settings):
raise Exception(f"Validation failed for predefined model: {settings.computer.real_model}")
else:
print(f"Validation succeeded for predefined model: {settings.computer.real_model}")
# First run is with default settings
build_prebuilt()
build_dumps()
@@ -68,4 +68,4 @@ def validate(settings):
settings.disable_tb = True
settings.force_surplus = True
build_prebuilt()
build_dumps()
build_dumps()