## Why
Using `uv run --frozen` keeps dependency resolution fixed but does not require
installed packages to match the hashes in `uv.lock`.
## What changed
Run Ruff for the Python SDK and repository scripts, and regenerate Python SDK
types during repository schema refreshes, through a shared runner. It exports
the selected locked dependencies, installs them into a temporary virtual
environment with `uv pip sync --require-hashes`, and runs the tool without
resyncing the environment.
## Testing
Update tests to check the formatter invocations and verify that only repository
schema refreshes invoke Python type generation through the runner.
GitOrigin-RevId: 4e84da5d227eb99c24efb9a1cc7647af82105536