Changes: * Apply pre-commit autoupdate commands to update the pre-commit config file. * Modify pyproject.toml file to reflect the python versions supported. * Change docs sphinx version to be equal to 7.1.2 due to breaking changes introduced in newer versions.