Fix pin-versions prek hook and upgrade hooks (#57857)
We had pin-versions prek-hook implemented in a separate workflow under the `dev` folder, but it has not been working since workspace switch because prek workspace only works on sub-folders of where the .pre-commit-config.yaml file is placed. It was in a separate file because it needed python 3.11 to run, but it is possible to have a specific python verison as separate language version in the hook itself, so we can move it back to the main .pre-commit-config.yaml This PR: * moves the pin-version hook to main .pre-commit-config.yaml * sets python 3.11 as version of python used in the hook independently from default python version * fix github actions and docs to use the hook from the main .pre-commit-config.yaml
J
Jarek Potiuk committed
bb4f04124aebd910ba5de3182634ce6bc6c4a076
Parent: 25c6c55
Committed by GitHub <noreply@github.com>
on 11/5/2025, 10:44:06 PM