2.1.23.7.6. cli.pre_commit_scripts.check_license_info.check_toml

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

Check TOML 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.