audk/.pytool/Plugin
Michael Kubacki dbfbaedb21 .pytool/Plugin/UncrustifyCheck: Add ignore file support
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3880

Currently UncrustifyCheck.py provides the following exclusion
options:

1. Override the type of files UncrustifyCheck operates against by
default (.c and .h files). Using the "IgnoreStandardPaths"
configuration option.

2. By default, UncrustifyCheck skips files in git submodules and
ignored by git (the "SkipGitExclusions" configuration option can
override this behavior).

The goal of UncrustifyCheck is to provide consistent formatting
across the codebase. In some rare circumstances, maintainers might
need to exclude a specific file (or file pattern) within their
package. For example, a small set of auto-generated files from
another repository.

This change adds a new configuration option that can be specified
in a package CI YAML file to describe a list of files within the
package that should be ignored by UncrustifyCheck.

The configuration option is called "IgnoreFiles" and it uses similar
syntax to git ignore to ignore a list of files.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
2022-04-04 15:18:31 +00:00
..
CharEncodingCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
CompilerPlugin .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
DependencyCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
DscCompleteCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
EccCheck .pytool/Plugin/EccCheck: Add performance optimizations 2021-11-29 06:38:51 +00:00
GuidCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
HostUnitTestCompilerPlugin .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
HostUnitTestDscCompleteCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
LibraryClassCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
LicenseCheck .pytools/Plugin/LicenseCheck: Use temp directory for git diff output 2021-11-29 07:12:18 +00:00
SpellCheck .pytool: Update to newest pytools 2022-03-09 18:58:33 +00:00
UncrustifyCheck .pytool/Plugin/UncrustifyCheck: Add ignore file support 2022-04-04 15:18:31 +00:00