add pre-commit and configure it to run codespell
We should use pre-commit and codespell to fix common misspellings before they hit CI/CD.
https://github.com/codespell-project/codespell#pre-commit-hook
Edited by Ernesto Rico Schmidt
We should use pre-commit and codespell to fix common misspellings before they hit CI/CD.
https://github.com/codespell-project/codespell#pre-commit-hook