|
@ -5,10 +5,10 @@ |
|
|
check-file = true |
|
|
check-file = true |
|
|
check-filename = true |
|
|
check-filename = true |
|
|
extend-ignore-re = [ |
|
|
extend-ignore-re = [ |
|
|
# NOTE Allow to mark a block of text to exclude from spellchecking |
|
|
|
|
|
"(?s)(#|/(/|\\*)|\\.\\.)\\s*(NOQA|noqa):? spellcheck(: *|=| +)off.*?\\n\\s*(#|/(/|\\*)|\\.\\.)\\s*(NOQA|noqa):? spellcheck(: *|=| +)on" |
|
|
|
|
|
|
|
|
# NOTE Allow to mark block of text to exclude from spellchecking inside C++ or hash-style comments (CMake,Python,&etc.) |
|
|
|
|
|
"(?s)(#|//)\\s*(NOQA|noqa):? spellcheck(: *|=| +)off.*?\\n\\s*(#|//)\\s*(NOQA|noqa):? spellcheck(: *|=| +)on" |
|
|
# NOTE Allow to mark a line to exclude from spellchecking |
|
|
# NOTE Allow to mark a line to exclude from spellchecking |
|
|
, "(?Rm)^.*(#|/(/|\\*)|\\.\\.)\\s*(NOQA|noqa):? spellcheck(: *|=| +)disable-line$" |
|
|
|
|
|
|
|
|
, "(?Rm)^.*(#|//)\\s*(NOQA|noqa):? spellcheck(: *|=| +)disable-line$" |
|
|
# NOTE Stop checking from this line to the end of file |
|
|
# NOTE Stop checking from this line to the end of file |
|
|
# This line is a marker added by Git to the `COMMIT_EDITMSG`. |
|
|
# This line is a marker added by Git to the `COMMIT_EDITMSG`. |
|
|
, "(?sm)^# ------------------------ >8 ------------------------$.*" |
|
|
, "(?sm)^# ------------------------ >8 ------------------------$.*" |
|
@ -34,7 +34,28 @@ ser = "ser" |
|
|
restat = "restat" |
|
|
restat = "restat" |
|
|
# SpectreMitigation |
|
|
# SpectreMitigation |
|
|
Spectre = "Spectre" |
|
|
Spectre = "Spectre" |
|
|
|
|
|
# Identifier used in source code (`GlobalTargetInfo`) |
|
|
|
|
|
gti = "gti" |
|
|
|
|
|
|
|
|
|
|
|
[files] |
|
|
|
|
|
ignore-hidden = false |
|
|
|
|
|
ignore-dot = false |
|
|
|
|
|
extend-exclude = [ |
|
|
|
|
|
"CONTRIBUTORS.rst" |
|
|
|
|
|
# Exclude third-party sources. |
|
|
|
|
|
, "Source/CursesDialog/form/" |
|
|
|
|
|
, "Source/kwsys/" |
|
|
|
|
|
, "Source/bindexplib.cxx" |
|
|
|
|
|
, "Source/cmcldeps.cxx" |
|
|
|
|
|
, "Source/QtDialog/*.ui" |
|
|
|
|
|
, "Utilities/cm*" |
|
|
|
|
|
, "Utilities/ClangTidyModule" |
|
|
|
|
|
, "Utilities/KWIML" |
|
|
|
|
|
# FIXME: Fix spelling typos in tests. Exclude for now. |
|
|
|
|
|
, "Tests" |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
# BEGIN Type-specific settings |
|
|
[type.cmake.extend-identifiers] |
|
|
[type.cmake.extend-identifiers] |
|
|
COMMANDs = "COMMANDs" |
|
|
COMMANDs = "COMMANDs" |
|
|
xCOMMANDx = "xCOMMANDx" |
|
|
xCOMMANDx = "xCOMMANDx" |
|
@ -60,20 +81,9 @@ SEH = "SEH" |
|
|
[type.py.extend-identifiers] |
|
|
[type.py.extend-identifiers] |
|
|
typ = "typ" |
|
|
typ = "typ" |
|
|
|
|
|
|
|
|
[files] |
|
|
|
|
|
ignore-hidden = false |
|
|
|
|
|
ignore-dot = false |
|
|
|
|
|
extend-exclude = [ |
|
|
|
|
|
"CONTRIBUTORS.rst" |
|
|
|
|
|
# Exclude third-party sources. |
|
|
|
|
|
, "Source/CursesDialog/form/" |
|
|
|
|
|
, "Source/kwsys/" |
|
|
|
|
|
, "Source/bindexplib.cxx" |
|
|
|
|
|
, "Source/cmcldeps.cxx" |
|
|
|
|
|
, "Source/QtDialog/*.ui" |
|
|
|
|
|
, "Utilities/cm*" |
|
|
|
|
|
, "Utilities/ClangTidyModule" |
|
|
|
|
|
, "Utilities/KWIML" |
|
|
|
|
|
# FIXME: Fix spelling typos in tests. Exclude for now. |
|
|
|
|
|
, "Tests" |
|
|
|
|
|
|
|
|
[type.rst] |
|
|
|
|
|
extend-ignore-re = [ |
|
|
|
|
|
# NOTE Allow to mark block of text to exclude from spellchecking as RST comments |
|
|
|
|
|
"(?s)\\.\\.\\s+(NOQA|noqa):? spellcheck(: *|=| +)off.*?\\n\\.\\.\\s+(NOQA|noqa):? spellcheck(: *|=| +)on" |
|
|
] |
|
|
] |
|
|
|
|
|
# END Type-specific settings |