mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:26 +00: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
10 lines
168 B
TOML
10 lines
168 B
TOML
[files]
|
|
extend-exclude = ["resources", "snapshots"]
|
|
|
|
[default.extend-words]
|
|
trivias = "trivias"
|
|
hel = "hel"
|
|
whos = "whos"
|
|
spawnve = "spawnve"
|
|
ned = "ned"
|
|
poit = "poit"
|