Skip to content

Commit 154cd85

Browse files
authored
build: 🔨 add spell checker to justfile (#60)
## Description This adds a spell checker to the justfile. Closes #9 Doesn't need a review, but will wait a bit on the one PR in Sprout.
1 parent c36296b commit 154cd85

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.typos.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[files]
2+
extend-exclude = [
3+
"*.json",
4+
"*.css",
5+
".quarto/*",
6+
"_site/*",
7+
"_extensions/*",
8+
".coverage-report/*"
9+
]

justfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
just --list --unsorted
33

44
# Run all build-related recipes in the justfile
5-
run-all: install-deps format-python check-python test-python check-security check-commits build-website
5+
run-all: install-deps format-python check-python test-python check-security check-spelling check-commits build-website
66

77
# Install Python package dependencies
88
install-deps:
@@ -50,3 +50,7 @@ check-commits:
5050
# Run basic security checks on the package
5151
check-security:
5252
uv run bandit -r src/
53+
54+
# Check for spelling errors in files
55+
check-spelling:
56+
uv run typos

0 commit comments

Comments
 (0)