diff --git a/.typos.toml b/.typos.toml index c852cec3ce..5ad2245aa7 100644 --- a/.typos.toml +++ b/.typos.toml @@ -9,6 +9,9 @@ extend-ignore-re = [ "(?s)(#|/(/|\\*)|\\.\\.)\\s*(NOQA|noqa):? spellcheck(: *|=| +)off.*?\\n\\s*(#|/(/|\\*)|\\.\\.)\\s*(NOQA|noqa):? spellcheck(: *|=| +)on" # NOTE Allow to mark a line to exclude from spellchecking , "(?Rm)^.*(#|/(/|\\*)|\\.\\.)\\s*(NOQA|noqa):? spellcheck(: *|=| +)disable-line$" + # NOTE Stop checking from this line to the end of file + # This line is a marker added by Git to the `COMMIT_EDITMSG`. + , "(?sm)^# ------------------------ >8 ------------------------$.*" ] locale = "en-us" # ATTENTION If, for any reason, you want to add the