If you edit via the GitHub web UI, you get a Pre-commit afterwards that just does whitespace changes: https://github.com/codespell-project/codespell/pull/3016/commits/174a5bf4cc307fdec786962d5f511d0028318f6e