Add codespell support (CI to check, not to fix) and make it fix a few typos (#10297)

Another token of gratitude for a super useful tool and service.

More about codespell: https://github.com/codespell-project/codespell .

I personally introduced it to dozens if not hundreds of projects already
and so far only positive feedback.

CI workflow has 'permissions' set only to 'read' so also should be safe.

---------

Signed-off-by: Yaroslav O. Halchenko <debian@onerussian.com>
This commit is contained in:
Yaroslav Halchenko
2025-06-24 13:14:31 +09:00
committed by GitHub
parent 6ee19bac55
commit 86f76cd3df
28 changed files with 33 additions and 33 deletions
@@ -38,7 +38,7 @@ class Parsable:
@classmethod
def parsing_hooks(cls) -> Tuple[Type["Block"], Type["Sentence"], Type["Statements"]]:
"""Returns object types that this class should be able to `parse` recusrively.
"""Returns object types that this class should be able to `parse` recursively.
The order of the objects indicates the order in which the parser should
try to parse each subitem.
:returns: A list of Parsable classes.
@@ -29,7 +29,7 @@ charset_map windows-1251 utf-8 {
A4 C2A4; # currency sign
A5 D290; # capital Ukrainian soft G
A6 C2A6; # borken bar
A6 C2A6; # broken bar
A7 C2A7; # section sign
A8 D081; # capital YO
A9 C2A9; # (C)