Skip to content

Commit 53999cd

Browse files
committed
📇 Make codespell part of the quality checks
1 parent d75f54d commit 53999cd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/style-lint-and-test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Install Dependencies
3535
run: make setup
3636

37+
- name: Check for typos
38+
run: make spellcheck
39+
3740
- name: Check the Code style
3841
run: make codestyle
3942

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ python := $(run) python
77
lint := rye lint -- --select I
88
fmt := rye fmt
99
mypy := $(run) mypy
10+
spell := $(run) codespell
1011

1112
##############################################################################
1213
# Local "interactive testing" of the code.
@@ -63,8 +64,12 @@ stricttypecheck: # Perform a strict static type checks with mypy
6364
test: # Run the unit tests
6465
$(test) -v
6566

67+
.PHONY: spellcheck
68+
spellcheck: # Spell check the code
69+
$(spell) *.md $(src) $(tests)
70+
6671
.PHONY: checkall
67-
checkall: codestyle lint stricttypecheck test # Check all the things
72+
checkall: spellcheck codestyle lint stricttypecheck test # Check all the things
6873

6974
##############################################################################
7075
# Package/publish.

0 commit comments

Comments
 (0)