Allow automatic configuration by pyproject.toml in parent folder similar how ruff does it (https://docs.astral.sh/ruff/configuration/#config-file-discovery).
We have some submodules in our main git repo where we configure pre-commit checks centrally in the main repo under pyproject.toml. This however does not work for codespell when running pre-commit in a submodule as the pyproject.toml is only found in the current working directory. As the project is potentially at varying locations a fixed link to the config via '--toml' does not seem feasible.