hound & docstring tweak

This commit is contained in:
Kayla Man 2023-10-31 16:11:57 +08:00
parent ce80ca2397
commit 3218b8064c

View file

@ -46,7 +46,7 @@ class ValidateAttributes(OptionalPyblishPluginMixin,
"separateAovFiles" : True
}
"renderers.production":{
"PrimaryGIEngine": "#RS_GIENGINE_BRUTE_FORCE",
"PrimaryGIEngine": "#RS_GIENGINE_BRUTE_FORCE"
}
....
}
@ -79,7 +79,8 @@ class ValidateAttributes(OptionalPyblishPluginMixin,
for property_name, value in required_properties.items():
if not has_property(object_name, property_name):
cls.log.error(
f"Non-existing property: {object_name}.{property_name}")
"Non-existing property: "
f"{object_name}.{property_name}")
invalid.append((object_name, property_name))
if not is_matching_value(object_name, property_name, value):