check_source

Contents

check_source#

scarlet2.check_source(source) list[ValidationResult][source]#

Check the source against the various validation rules.

Parameters:
  • source (Source) – The source object to check.

  • scene (Scene) – The scene that the source is part of.

Returns:

A list of validation results from the source object checks.

Return type:

list[ValidationResult]