audk/.pytool/Plugin/LibraryClassCheck
Philippe Mathieu-Daude e8b9296c67 .pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2304

To avoid SyntaxWarning with Python 3.8, change the 'is' operator
by the conventional '==' comparator.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
2019-12-06 03:07:37 +00:00
..
LibraryClassCheck.py .pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins 2019-12-06 03:07:37 +00:00
LibraryClassCheck_plug_in.yaml .pytool/Plugin: Add CI plugins 2019-11-11 13:02:03 -08:00
Readme.md .pytool/Plugin: Add CI plugins 2019-11-11 13:02:03 -08:00

Readme.md

Library Class Check Plugin

This CiBuildPlugin scans at all library header files found in the Library folders in all of the package's declared include directories and ensures that all files have a matching LibraryClass declaration in the DEC file for the package. Any missing declarations will cause a failure.

Configuration

The plugin has a few configuration options to support the UEFI codebase.

"LibraryClassCheck": {
    IgnoreHeaderFile: [],  # Ignore a file found on disk
    IgnoreLibraryClass: [] # Ignore a declaration found in dec file
}

IgnoreHeaderFile

Ignore a file found on disk

IgnoreLibraryClass

Ignore a declaration found in dec file