-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypos.toml
More file actions
51 lines (47 loc) · 2.04 KB
/
Copy pathtypos.toml
File metadata and controls
51 lines (47 loc) · 2.04 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
41
42
43
44
45
46
47
48
49
50
51
# typos (typos-cli) configuration — an instant spell-check gated BLOCKING in the
# core runner (scripts/compliance.ps1). Run directly: `typos`.
#
# The allow-list below seeds the Blu-ray domain vocabulary that also lives in
# clippy.toml's `doc-valid-idents` — these are correct domain terms, not typos.
[default.extend-identifiers]
# Exact tokens (incl. digit-bearing) that are domain vocabulary, never typos.
M2TS = "M2TS"
HDR10 = "HDR10"
dwStrucVersion = "dwStrucVersion" # the VS_FIXEDFILEINFO field's real Win32 name
[default.extend-words]
# Word-level allow (case-insensitive): BD structure names / extensions.
bdmv = "bdmv"
bdav = "bdav"
clpi = "clpi"
clipinf = "clipinf"
ssif = "ssif"
mpls = "mpls"
indx = "indx" # index.bdmv magic "INDX0300" (UHD detection)
cll = "cll" # MaxCLL — HDR maximum content light level
ue = "ue" # ue(v): unsigned Exp-Golomb code (H.264/H.265 syntax notation)
compre = "compre" # AC-3 BSI syntax element (compression-gain-word exists flag)
[files]
# Skip build output, local-only trees, generated data, and binaries.
extend-exclude = [
"target/",
"fuzz/target/",
"fuzz/corpus/", # raw-byte seed fixtures (garbage/boundary inputs), not text
"docs/",
"scratch/", # local research + notes (also gitignored)
# Real-disc test fixtures: the golden reports are locked BDInfo output (domain
# jargon, not prose) and the README credits the CC-BY source; the disc bytes are
# binary. Spell-checking any of it is all false positives.
"crates/bdinfo-rs/tests/fixtures/",
# The wasm crate's measured-scan parity golden is the same locked BDInfo
# output (domain jargon, not prose) as the CLI golden above — same rationale.
"crates/bdinfo-rs-wasm/tests/golden_report.txt",
# ISO-639 reference table: the 3-letter codes (bre/fre/mak/...) and endonyms
# (Lamba/Twi/...) are domain data, not English prose — spell-checking them is
# all false positives.
"crates/bdinfo-rs-core/src/language_codes.rs",
"discs/",
"mutants.out/",
"supply-chain/",
"Cargo.lock",
"*.exe",
]