aac.plugins.check.check_aac_impl

The AaC Check AaC plugin implementation module.

Functions

check(aac_file, fail_on_warn, verbose)

Business logic for the check command.

aac.plugins.check.check_aac_impl.check(aac_file: str, fail_on_warn: bool, verbose: bool) ExecutionResult[source]

Business logic for the check command.

Parameters:
  • aac_file (str) – The AaC file being processed

  • fail_on_warn (bool) – Flag to fail when warnings are discovered

  • verbose (bool) – Flag for verbose mode. When true add success messages as encountered.

Returns:

Method result containing: plugin_name (“Check AaC”), “check”, status, message

including results from lower level helper methods

Return type:

ExecutionResult

Raises:

LanguageError – Passed up LanguageError from get_defining_schema_for_root