Browse Source

Add regex ignore rule to skip usernames in mentions

pull/15796/head
Yurii Motov 1 month ago
parent
commit
6980d6a70f
  1. 6
      pyproject.toml

6
pyproject.toml

@ -338,6 +338,12 @@ extend-exclude = [
"uv.lock",
]
[tool.typos.default]
extend-ignore-re = [
# GitHub usernames in @mentions, e.g. @OCE1960
"@[a-zA-Z0-9](?:-?[a-zA-Z0-9])*",
]
[tool.typos.default.extend-identifiers]
alls = "alls"

Loading…
Cancel
Save