mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
chore(style): apply pylint suggestion on site_scons python files
[no changelog]
This commit is contained in:
parent
44ff6d42b3
commit
db9f76df0d
@ -39,7 +39,7 @@ def configure_board(
|
||||
defines: list[str | tuple[str, str]],
|
||||
sources: list[str],
|
||||
paths: list[str],
|
||||
):
|
||||
) -> list[str]:
|
||||
model_r_version = 10
|
||||
|
||||
if model in ("1",):
|
||||
@ -55,10 +55,10 @@ def configure_board(
|
||||
return trezor_r_v6.configure(env, features_wanted, defines, sources, paths)
|
||||
elif model_r_version == 10:
|
||||
return trezor_r_v10.configure(env, features_wanted, defines, sources, paths)
|
||||
raise Exception("Unknown model_r_version")
|
||||
elif model in ("DISC1",):
|
||||
return discovery.configure(env, features_wanted, defines, sources, paths)
|
||||
else:
|
||||
raise Exception("Unknown model")
|
||||
raise Exception("Unknown model")
|
||||
|
||||
|
||||
def get_model_identifier(model: str) -> str:
|
||||
|
Loading…
Reference in New Issue
Block a user