build: keep the whole .claude/ folder out of the sdist

Merged
KA
5d ago
+2-3

Why. The sdist excluded only three paths under .claude/ (settings.local.json, worktrees/**, plans/**). A build from a checkout with other local tooling, such as the e2e harness in .claude/e2e/, ships it in the tarball. The published 0.15.0 sdist has none (checked), but the next build from a working checkout could.

What. One .claude/** exclusion replaces the three paths.

Verification. uv build --sdist from a checkout that has .claude/e2e/: 0 files under .claude/ in the tarball (147 files: src, tests, scripts, project docs). The wheel is unchanged: it only packages src/reverse_api.

Out of scope. No release.


Summary by cubic

Keeps the entire .claude/ folder out of the sdist so local tooling like the e2e harness, settings, worktrees, and plans never end up in the tarball.

  • Replaces the three specific .claude/ exclusions with a single .claude/** pattern.
  • The wheel is unaffected; it still only packages src/reverse_api.

RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge.

Summary

Broadens the source archive exclusion in pyproject.toml to cover all files under .claude/.

  • Source archives leave out every file under .claude/.

Reviews (1) · Last reviewed commit: "build: keep the whole .claude/ folder ou..." · Reviewed by Greptile