[GRASS-git] [OSGeo/grass] 7c29b9: CI: Enable XML in codespell and fix typos- #685 (#...
Edouard Choinière
noreply at github.com
Sat Sep 5 22:37:36 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 7c29b9c03a754e928a6b96a96b16d6014754b693
https://github.com/OSGeo/grass/commit/7c29b9c03a754e928a6b96a96b16d6014754b693
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2026-09-06 (Sun, 06 Sep 2026)
Changed paths:
M .pre-commit-config.yaml
M gui/wxpython/core/testsuite/data/test_toolboxes_menudata_ref.xml
M gui/wxpython/xml/wxgui_items.xml
M pyproject.toml
Log Message:
-----------
CI: Enable XML in codespell and fix typos- #685 (#7900)
* xml: Fix codespell typos (co-ordinate → coordinate)
Enable XML file type in codespell by removing it from exclude_types
in .pre-commit-config.yaml. Fix all typos found in XML files:
- gui/wxpython/xml/wxgui_items.xml: coordinate (1 occurrence)
- gui/wxpython/core/testsuite/data/test_toolboxes_menudata_ref.xml: coordinate (2 occurrences)
Co-Authored-By: Claude Haiku 4.5 <noreply at anthropic.com>
* codespell: Skip SVG files to avoid false positives
Enabling codespell for XML also covers SVG (identify tags it as an
XML type). gui/images/splash_screen.svg embeds a base64-encoded JPEG
that codespell misreads as misspelled words (e.g. "nd", "Ot", "tHt").
Skip *.svg via codespell's own skip list so the exclusion also
applies when codespell is run directly, not just through pre-commit.
---------
Co-authored-by: Claude Haiku 4.5 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list