Skip to content

ci: fix dprint plugin URL and add docs-check to pre-commit#778

Merged
dguido merged 1 commit intomasterfrom
fix/precommit-hooks
Jan 22, 2026
Merged

ci: fix dprint plugin URL and add docs-check to pre-commit#778
dguido merged 1 commit intomasterfrom
fix/precommit-hooks

Conversation

@dguido
Copy link
Copy Markdown
Member

@dguido dguido commented Jan 22, 2026

Summary

  • Fix dprint pretty_yaml plugin URL that was returning 404 errors (pretty_yaml-0.6.0 -> pretty_yaml-v0.6.0)
  • Add docs-check to pre-commit hooks so documentation sync issues are caught locally before pushing

Problem

The dprint hook was failing with a 404 error when trying to download the pretty_yaml plugin because the URL was missing the v prefix in the version.

The docs-check CI was failing on PRs because new config fields weren't documented, but this wasn't being caught locally since docs-check wasn't in the pre-commit hooks.

Changes

  1. dprint.json: Fixed plugin URL from pretty_yaml-0.6.0.wasm to pretty_yaml-v0.6.0.wasm
  2. .pre-commit-config.yaml: Added docs-check hook that runs python3 scripts/check_docs.py on .go files and docs/src/**/*.md files

🤖 Generated with Claude Code

Fix dprint pretty_yaml plugin URL that was returning 404 errors
(pretty_yaml-0.6.0 -> pretty_yaml-v0.6.0).

Add docs-check to pre-commit hooks so documentation sync issues are
caught locally before pushing. The hook runs on .go files and
docs/src/**/*.md files to ensure config fields are documented.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@dguido dguido merged commit f7729a0 into master Jan 22, 2026
13 checks passed
@dguido dguido deleted the fix/precommit-hooks branch January 22, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant