]> git.proxmox.com Git - mirror_edk2.git/commit
.pytool/Plugin/UncrustifyCheck: Update func to return absolute paths
authorMichael Kubacki <michael.kubacki@microsoft.com>
Wed, 16 Mar 2022 17:52:20 +0000 (13:52 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 4 Apr 2022 15:18:31 +0000 (15:18 +0000)
commitf16b05a13bb3a4c685c4c6161c1367e43fcd61f7
tree8db0b3d0a4d35676dafbd8770afd2e99699c6099
parent3e130e40fc55f06f7fe019e87ed9bae957870a12
.pytool/Plugin/UncrustifyCheck: Update func to return absolute paths

Currently, UncrustifyCheck._get_git_ignored_paths() is documented to
return a list of absolute file paths but it currently returns a list
of relative file paths.

This change updates the function to return a list of absolute file
paths. The result is later compared to the list of absolute file
paths for files to run against Uncrustify.

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: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py