Skip to content

Commit 7a33931

Browse files
committed
spellcheck: Check spelling for dotfiles
Typos counts these as 'hidden', even if they are tracked in git (like .gitignore) Enabling this means we need to explicitly exclude the '.git' directory Fix spelling in .gitignore
1 parent ccec1d7 commit 7a33931

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __pycache__
2121
/uv.lock
2222

2323
##
24-
## Miscelaneous
24+
## Miscellaneous
2525
##
2626
/build
2727
/target

_typos.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
[files]
2+
ignore-hidden = false # we want dotfiles
3+
extend-exclude = [
4+
".git", # needed because we 'ignore-hidden'
5+
]
6+
17
[default.extend-words]
28
# Pydantic uses 'ser' as a shorthand for 'serialize'
39
# See issue crate-ci/typos#1318

0 commit comments

Comments
 (0)