From 6980d6a70f94d9e480928da7465319e54973a81c Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Fri, 19 Jun 2026 15:40:09 +0200 Subject: [PATCH] Add regex ignore rule to skip usernames in mentions --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8ba13a490..82f1b200b 100644 --- a/pyproject.toml +++ b/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"