diff --git a/pype/plugins/global/publish/validate_filesequences.py b/pype/plugins/global/publish/validate_filesequences.py new file mode 100644 index 0000000000..2f4ac3de4f --- /dev/null +++ b/pype/plugins/global/publish/validate_filesequences.py @@ -0,0 +1,12 @@ +import pyblish.api + + +class ValidateFileSequences(pyblish.api.ContextPlugin): + """Validates whether any file sequences were collected.""" + + order = pyblish.api.ValidatorOrder + targets = ["filesequence"] + label = "Validate File Sequences" + + def process(self, context): + assert context, "Nothing collected."