]> git.proxmox.com Git - mirror_edk2.git/commit - .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py
.pytool/Plugin/UncrustifyCheck: Output file diffs by default
authorMichael Kubacki <michael.kubacki@microsoft.com>
Thu, 10 Feb 2022 15:58:03 +0000 (10:58 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 8 Mar 2022 18:41:39 +0000 (18:41 +0000)
commit56530dec1105f17455752675e4c90fb859c64836
tree5fecab60df61658428faa8da294079e77cfd0807
parent62fa37fe7b9df3c54a2d9d90aed9ff0e817ee0c6
.pytool/Plugin/UncrustifyCheck: Output file diffs by default

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3808

Changes the default for the "OutputFileDiffs" configuration option
to "True" so the formatting suggestions detected by Uncrustify
will be output in the test case log. The diff is printed in unified
diff format.

This was disabled by default during the initial enabling of
Uncrustify to reduce overall execution time of the plugin against
the codebase due to the large number of changes detected.

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: Rebecca Cran <quic_rcran@quicinc.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
.pytool/Plugin/UncrustifyCheck/Readme.md
.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py