File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ lint := $(ruff) check --select I
1010fmt := $(ruff ) format
1111mypy := $(run ) mypy
1212mkdocs := $(run ) mkdocs
13+ spell := $(run ) codespell
1314
1415# #############################################################################
1516# Local "interactive testing" of the code.
@@ -50,8 +51,12 @@ typecheck: # Perform static type checks with mypy
5051stricttypecheck : # Perform a strict static type checks with mypy
5152 $(mypy ) --scripts-are-modules --strict $(src )
5253
54+ .PHONY : spellcheck
55+ spellcheck : # Spell check the code
56+ $(spell ) * .md $(src ) $(docs ) $(tests )
57+
5358.PHONY : checkall
54- checkall : codestyle lint stricttypecheck # Check all the things
59+ checkall : spellcheck codestyle lint stricttypecheck # Check all the things
5560
5661# #############################################################################
5762# Documentation.
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ dev = [
7070 " mkdocs-material>=9.6.9" ,
7171 " markdown-exec>=1.10.2" ,
7272 " ruff>=0.12.9" ,
73+ " codespell>=2.4.1" ,
7374]
7475
7576[[tool .uv .index ]]
You can’t perform that action at this time.
0 commit comments