mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
The typos pre-commit action would also edit test fixtures and snapshots. Unfortunately the pre-commit action also doesn't respect _typos.toml and typos action doesn't allow for an exclude key, so i've added a top level exclude key. I have confirmed that this does stop typos from rewriting my fixtures and snapshots
11 lines
168 B
TOML
11 lines
168 B
TOML
[files]
|
|
extend-exclude = ["resources", "snapshots"]
|
|
|
|
[default.extend-words]
|
|
trivias = "trivias"
|
|
hel = "hel"
|
|
whos = "whos"
|
|
spawnve = "spawnve"
|
|
ned = "ned"
|
|
poit = "poit"
|