From 3bc42dea1e2e07e4ae1331978135ab8c6ea55dd2 Mon Sep 17 00:00:00 2001 From: Priya Sundaram Date: Fri, 28 Aug 2026 13:28:28 +0000 Subject: [PATCH] ci: skip uv-lock on pre-commit.ci (no network there) The uv-lock hook (added in #15111) resolves dependencies against PyPI, but pre-commit.ci runs hooks in a sandbox with no network access, so it fails on every PR with a DNS lookup error. Skip it on pre-commit.ci via the ci.skip key; the hook still runs locally and in the uv-lock CI job. --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f884a38bf4cd..be574d083b8a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,8 @@ ci: autoupdate_schedule: monthly + # uv-lock resolves dependencies from PyPI, but pre-commit.ci runs hooks with no + # network access, so it fails there. Skip it on pre-commit.ci; it still runs locally. + skip: [uv-lock] repos: - repo: https://github.com/pre-commit/pre-commit-hooks