pre-commit is not needed to run tests.

--- codespell-2.4.1/pyproject.toml.orig
+++ codespell-2.4.1/pyproject.toml
@@ -35,7 +35,6 @@
 dev = [
     "build",
     "chardet",
-    "pre-commit",
     "pytest",
     "pytest-cov",
     "Pygments",