Commit Graph

5 Commits

Author SHA1 Message Date
MDW
13a32a5549 Qual: codespell: More general exclusion of SVG images
'*.svg' was recently added to the .pre-commit configuration, excluding
the 'image' type is more general.
The pyproject.toml which is used from the CLI has been updated
to exclude '*.svg'.
2024-01-24 15:03:24 +01:00
MDW
ba379435c8 Fix: pre-commit & codespell configuration.
# Fix: pre-commit & codespell configuration.

When codespell is run from the CLI it gets its configuration from
pyproject.toml or .codespellrc .
`pyproject.toml` was used because other tools also use that while
.codespellrc is specific.

A typo was fixed in the pre-commit configuration.

The end of file fixer was limited to yaml files, but that was mainly
to fix the yamllint errors that were reported in ci.
This hook can be applied on the files this normally applies to
without requiring it (not in ci, only local).
2024-01-18 13:53:18 +01:00
Laurent Destailleur
f735499e17
Update pyproject.toml 2024-01-14 18:58:55 +01:00
Laurent Destailleur
69de3f29d0 Try move setup in config file 2024-01-14 18:56:01 +01:00
MDW
5bfccb7016
Qual: Add pre-commit & codespell (#27392)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 14:24:29 +01:00