Skip to content

Commit 09ab0ef

Browse files
authored
🔀 Merge pull request #26 from davep/codespell
Add codespell
2 parents cdcc07a + 8b95f28 commit 09ab0ef

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
([#21](https://github.com/davep/ng2web/pull/21))
99
- Added Python 3.14 as a tested/supported Python version.
1010
([#22](https://github.com/davep/ng2web/pull/22))
11+
- Fixed a typo in the header metadata of the base template.
1112

1213
## v1.0.1
1314

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ lint := $(ruff) check --select I
1010
fmt := $(ruff) format
1111
mypy := $(run) mypy
1212
mkdocs := $(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
5051
stricttypecheck: # 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.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]]

src/ng2web/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="generator" content="{{ generator }}">
1010
<link rel="stylesheet" type="text/css" href="{{ stylesheet }}">
1111
<title>{% block title %}{{ None|title }}{% endblock %}</title>
12-
<meta name="decription" content="{{ None|title }}">
12+
<meta name="description" content="{{ None|title }}">
1313
{% if previous_url %}<link rel="prev" href="{{ previous_url }}">{% endif %}
1414
{% if next_url %}<link rel="next" href="{{ next_url }}">{% endif %}
1515
{% block extraheaders %}{% endblock %}

uv.lock

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)