2.1.23.7.7. cli.pre_commit_scripts.check_license_info.check_yaml

cli.pre_commit_scripts.check_license_info.check_yaml(files: Sequence[str], license_type: Literal['BSD-3-Clause', 'confidential'] = 'confidential') int

Check YAML files for correct license header.

Parameters:
  • files – List of file paths to check.

  • license_type – Type of license to check for.

Returns:

Count of files with incorrect headers.