This repository was archived by the owner on Jul 2, 2026. It is now read-only.
Commit f75aa86
committed
fix(pydocstyle): use uv run --frozen --no-sync to stop touching uv state
`uv run ruff check --select D` triggers `uv sync` on every invocation,
which rebuilds workspace members and writes to uv.lock / .venv install
state. prek then reports these as "files were modified by this hook"
and fails the hook even when no docstring lint errors fire — every
consumer with workspace members on uv saw pydocstyle flapping on each
prek run.
Mirrors the v1.1.4 mypy fix: `uv run --frozen --no-sync` skips
re-sync entirely and uses the existing lockfile / .venv as-is.
Surfaced on html-to-markdown's prek run after the v1.1.9 bump (which
re-enabled godoc-lint and exposed the pydocstyle flap).1 parent ca75da9 commit f75aa86
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments