Claude Code Python Setup (and Codex): uv Project Rules, a Ruff and pytest Stop Hook, and the Pyright LSP Plugin
Claude Code Python setup with uv: project rules, an AGENTS.md for Codex, the Pyright LSP plugin and a Stop hook that holds the turn until Ruff and pytest pass.
Read the story