Implement appearance and current outfit services (#65)
This commit is contained in:
@@ -989,6 +989,7 @@ def validate_generated_shims() -> None:
|
||||
"crate::asset_manager::",
|
||||
"crate::asset_material::",
|
||||
"crate::asset_models::",
|
||||
"crate::appearance_manager::",
|
||||
"crate::byte_order::",
|
||||
"crate::attention_catalog::",
|
||||
"crate::binary::",
|
||||
@@ -1000,8 +1001,10 @@ def validate_generated_shims() -> None:
|
||||
"crate::inventory::",
|
||||
"crate::inventory_ais::",
|
||||
"crate::inventory_manager::",
|
||||
"crate::current_outfit::",
|
||||
"crate::message_codec::",
|
||||
"crate::message_decoder::",
|
||||
"crate::NameValue {",
|
||||
"crate::object_material::",
|
||||
"crate::notation::",
|
||||
"crate::packet_catalog::",
|
||||
@@ -1020,8 +1023,16 @@ def validate_generated_shims() -> None:
|
||||
if uses_standardized_or_native_path:
|
||||
continue
|
||||
if FAKE_BODY.search(body):
|
||||
raise ValueError(f"generated shim returns a plausible fallback: {path.relative_to(ROOT)}")
|
||||
raise ValueError(f"generated shim function does not use the standardized failure: {path.relative_to(ROOT)}")
|
||||
excerpt = " ".join(body.strip().split())[:160]
|
||||
raise ValueError(
|
||||
"generated shim returns a plausible fallback: "
|
||||
f"{path.relative_to(ROOT)}: {excerpt}"
|
||||
)
|
||||
excerpt = " ".join(body.strip().split())[:160]
|
||||
raise ValueError(
|
||||
"generated shim function does not use the standardized failure: "
|
||||
f"{path.relative_to(ROOT)}: {excerpt}"
|
||||
)
|
||||
|
||||
|
||||
def build_type_rows(catalog: dict) -> tuple[list[dict[str, str]], dict[str, str]]:
|
||||
|
||||
Reference in New Issue
Block a user