peal.preflight.check_script

peal.preflight.check_script(path, check_existence=True)[source]

Run check_config over every config a script references, in script order.

Order matters: each config is checked knowing what the lines above it will have produced, which is how the scripts are meant to be run.

Parameters:
  • path (str) – Path of a shell reproduction script containing --config arguments.

  • check_existence (bool, optional) – Forwarded to check_config(). Default True.

Returns:

One (config_path, problems, notes) triple per config, in the order the script references them.

Return type:

list of tuple