Update pre-commit to match swh-py-template 0.1.6 and run pre-commit -a
For some reason the update of this file has not been applied in the recent revisions.
Also simplify a bit the configuration of codespell moving the actual configuration in pyproject.toml.