-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtypos.toml
More file actions
40 lines (37 loc) · 1.14 KB
/
typos.toml
File metadata and controls
40 lines (37 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Configuration for typos-cli (https://github.com/crate-ci/typos)
[files]
# Avoid scanning generated/third-party directories and auto-generated files.
extend-exclude = [
".git/**",
"target/**",
"coverage/**",
"coverage_report/**",
"node_modules/**",
"dist/**",
"build/**",
"venv/**",
".venv/**",
".mypy_cache/**",
".ruff_cache/**",
".pytest_cache/**",
# Auto-generated from git history; contains commit-message fragments that frequently trip spellcheck.
"CHANGELOG.md",
"docs/archive/changelog/**",
# Regex patterns in commit_parsers trigger false positives (e.g. [Ss]upport, [Dd]elete).
"cliff.toml",
]
[default]
# Ignore identifier patterns that are common in tests/demos (e.g., symmetry_ab / symmetry_ba).
extend-ignore-identifiers-re = [
".*_ba$",
]
[default.extend-words]
# Domain terms that typos suggests "fixing" but are correct in this repo.
bimap = "bimap"
Nd = "Nd"
ND = "ND"
Udo = "Udo"
# Intentional misspellings used in the postprocess_changelog.py correction map
# and its tests. Suppressing here avoids false positives on the map keys.
runtim = "runtim"
varous = "varous"