Using Codespell to check for typos

Today, I stumbled upon Codespell, a tool to check for spelling mistakes in your code. I found out about it by looking at the PyScript repo, which they define in their pre-commit config. Since most of my repos are set up with already, I went ahead and added the config, which just a couple of lines:

  - repo:
    rev: v2.1.0
      - id: codespell

It didn’t raise a lot of issues, but it did catch a couple of typos here and there.