From 5fbf5dc0721fa5eb7836fd5b4d510c230bef8b8b Mon Sep 17 00:00:00 2001 From: aardschok Date: Fri, 11 Aug 2017 12:11:25 +0200 Subject: [PATCH] Improved docstrings --- colorbleed/plugins/maya/publish/validate_look_contents.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/colorbleed/plugins/maya/publish/validate_look_contents.py b/colorbleed/plugins/maya/publish/validate_look_contents.py index f57c057a8a..4f62fdd2ac 100644 --- a/colorbleed/plugins/maya/publish/validate_look_contents.py +++ b/colorbleed/plugins/maya/publish/validate_look_contents.py @@ -1,13 +1,14 @@ import pyblish.api import colorbleed.api -import colorbleed.maya.lib as lib class ValidateLookContents(pyblish.api.InstancePlugin): """Validate look instance contents - This is invalid when the collection was unable to collect the required - data for a look to be published correctly. + Rules: + * Look data must have `relationships` and `attributes` keys. + * At least one relationship must be collection. + * All relationship object sets at least have an ID value """