mirror of
https://github.com/astral-sh/uv
synced 2026-06-21 13:47:25 +00:00
1c5cab0e58
## Summary - add repo-local Codex hooks matching the existing Claude hooks - move the hook implementations into `scripts/hooks` so both agents share one implementation - handle Codex `apply_patch` payloads in the post-edit formatter - keep other repo-local `.codex` state ignored while tracking `.codex/hooks.json` ## Validation - `python3 -m json.tool .claude/settings.json` - `python3 -m json.tool .codex/hooks.json` - `bash -n scripts/hooks/session-start.sh` - `bash -n scripts/hooks/session-start-web.sh` - exercised `uv run scripts/hooks/post-edit-format.py` with Claude `Write` and Codex `apply_patch` payloads
58 lines
814 B
Plaintext
58 lines
814 B
Plaintext
# Insta snapshots.
|
|
*.pending-snap
|
|
|
|
# Generated by Cargo
|
|
# will have compiled files and executables
|
|
/vendor/
|
|
debug/
|
|
target-alpine/
|
|
target/
|
|
|
|
# Bootstrapped Python versions
|
|
/bin/
|
|
|
|
# These are backup files generated by rustfmt
|
|
**/*.rs.bk
|
|
|
|
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
*.pdb
|
|
|
|
# Python tmp files
|
|
__pycache__
|
|
|
|
# GitHub issue mirror
|
|
.prism/
|
|
|
|
# Maturin builds, and other native editable builds
|
|
*.so
|
|
*.pyd
|
|
*.dll
|
|
/dist
|
|
/crates/uv-build/dist
|
|
|
|
# Profiling
|
|
flamegraph.svg
|
|
perf.data
|
|
perf.data.old
|
|
profile.json
|
|
profile.json.gz
|
|
|
|
# MkDocs
|
|
/site
|
|
|
|
# Generated reference docs (use `cargo dev generate-all` to regenerate)
|
|
/docs/reference/cli.md
|
|
/docs/reference/environment.md
|
|
/docs/reference/settings.md
|
|
|
|
# macOS
|
|
**/.DS_Store
|
|
|
|
# IDE
|
|
.idea
|
|
.vscode
|
|
|
|
# Codex
|
|
.codex/*
|
|
!.codex/hooks.json
|