summaryrefslogtreecommitdiff
path: root/.pytool
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2026-05-29 06:58:40 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-05-29 15:56:47 +0000
commited5c06ecb09eb1b9bd9c651ca002c1b7f11195b8 (patch)
tree47ccc2c13062dd12ade883241767fc17c75b3c41 /.pytool
parentb313503a60e987f0c2c131abe588a5d06e33f8c5 (diff)
downloadedk2-ed5c06ecb09eb1b9bd9c651ca002c1b7f11195b8.tar.gz
edk2-ed5c06ecb09eb1b9bd9c651ca002c1b7f11195b8.zip
.pytool: SpellCheck: Add Regex Ignore List
Ignore all copyright notices and hex values. Also add fstack (from -fstack-protector, mentioned in a README) to the global ignore list in preparation for updating the cspell version. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to '.pytool')
-rw-r--r--.pytool/Plugin/SpellCheck/cspell.base.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.pytool/Plugin/SpellCheck/cspell.base.yaml b/.pytool/Plugin/SpellCheck/cspell.base.yaml
index ac987fedb9..2dbd18be25 100644
--- a/.pytool/Plugin/SpellCheck/cspell.base.yaml
+++ b/.pytool/Plugin/SpellCheck/cspell.base.yaml
@@ -24,6 +24,12 @@
"allowCompoundWords": true,
"maxNumberOfProblems": 200,
"maxDuplicateProblems": 200,
+ "ignoreRegExpList": [
+ # Ignore copyrights
+ "/Copyright\\s*\\([cC]\\).*$/gm",
+ # Ignore hex values
+ "/0x[0-9a-fA-F]+/"
+ ],
"ignoreWords": [],
"words": [
"AABBCCDD",
@@ -367,6 +373,7 @@
"frcerr",
"freqcsr",
"fsgsbase",
+ "fstack",
"fvmain",
"fword",
"fwvol",