audk/.pytool/Plugin/LicenseCheck
Michael Kubacki 260d36484d .pytool/LicenseCheck: Open files in utf-8
The LicenseCheck plugin currently fails if a file contains characters
outside the platform-dependent encoding returned from
locale.getencoding().

This change updates the encoding to utf-8 so the plugin is more
robust while continuing to support backward compatibility with the
ASCII range.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-12-19 00:19:13 +00:00
..
LicenseCheck.py .pytool/LicenseCheck: Open files in utf-8 2024-12-19 00:19:13 +00:00
LicenseCheck_plug_in.yaml
Readme.md

Readme.md

License Check Plugin

This CiBuildPlugin scans all new added files in a package to make sure code is contributed under BSD-2-Clause-Patent.

Configuration

The plugin can be configured to ignore certain files.

"LicenseCheck": {
    "IgnoreFiles": []
}

IgnoreFiles

OPTIONAL List of file to ignore.