Skip to content

Commit 1910584

Browse files
authored
Update codespell in pre-commit (#895)
1 parent 651231e commit 1910584

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: ruff-format
88

99
- repo: https://github.com/codespell-project/codespell
10-
rev: v2.2.2
10+
rev: v2.4.1
1111
hooks:
1212
- id: codespell
1313
language_version: python3

docs/source/structs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ code will still refer to them using their original names.
810810
If renaming to camelCase, you may run into issues if your field names contain
811811
acronyms (e.g. ``FQDN`` in ``setHostnameAsFQDN``). Some JSON style guides
812812
prefer to fully-uppercase these components (``FQDN``), but ``msgspec`` has no
813-
way to know if a component is an acroynm or not (and so will result in
813+
way to know if a component is an acronym or not (and so will result in
814814
``Fqdn``). As such, we recommend using an explicit dict mapping for renaming if
815815
generating `Struct` types to match an existing API.
816816

0 commit comments

Comments
 (0)