Skip to content

Commit 3bc42de

Browse files
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.
1 parent 02c6850 commit 3bc42de

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
ci:
22
autoupdate_schedule: monthly
3+
# uv-lock resolves dependencies from PyPI, but pre-commit.ci runs hooks with no
4+
# network access, so it fails there. Skip it on pre-commit.ci; it still runs locally.
5+
skip: [uv-lock]
36

47
repos:
58
- repo: https://github.com/pre-commit/pre-commit-hooks

0 commit comments

Comments
 (0)