From ad1578166f920c7e1cfe040016a39930cd5e8a2b Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 9 Jun 2026 15:48:16 -0700 Subject: [PATCH] Freeze the `ruff` pre-commit and pin `ty`'s version (#7331) Hopefully this will get us to more consistent behavior between local and CI runs of these checks. Assisted-by: Antigravity with Gemini --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 72fc6ba80850..3cef378af6ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: # Formatters should be run late so that they can re-format any prior changes. - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.13 + rev: 0c7b6c989466a93942def1f84baf36ddfcd60c83 # frozen: v0.15.14 hooks: - id: ruff-check args: [--fix] @@ -62,7 +62,7 @@ repos: entry: ty check --no-progress language: python additional_dependencies: - - ty + - ty==0.0.46 - rich - 'gql>=2.0.0,<3.0.0' - PyGitHub