Pre-commit auto-update (#16965)
Updated the version of the ruff-pre-commit repository to enhance linting capabilities with potential bug fixes and performance improvements.
Lower the frequency of auto-update to minimize maintainence time
Updated Ruff elsewhere
remove git submodules clone from pre-commit, as it cuts the time a lot, and we don't commit to these repositories through pre-commit.ci fixes. We also do not need them for the checks we perform