Skip to content

chore: keep Claude's local settings out of builds - #23

Merged
junxit merged 1 commit into
mainfrom
chore/gitignore-claude-local
Nov 16, 2026
Merged

junxit merged 1 commit into
mainfrom
chore/gitignore-claude-local

Conversation

@junxit

@junxit junxit commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Adds .claude/settings.local.json to .gitignore.

Why. The file was ignored only by a global git ignore file. hatchling reads the repo's .gitignore alone, so an sdist built from a working copy picked the file up.

Impact so far: none. sx installs build from clean clones, and no sdist has been published.

Checked locally. With this change, an sdist built from a working copy that contains the file has no .claude/ entries.

🤖 Generated with Claude Code

- Ignore .claude/settings.local.json in the repo's .gitignore. It was
  ignored only by a global git ignore file, which hatchling doesn't
  read, so an sdist built from a working copy picked it up
- Nothing leaked: installs build from clean clones and no sdist was ever
  published. An sdist built from a working copy now has nothing under
  .claude/
@junxit
junxit merged commit bf18374 into main Nov 16, 2026
2 checks passed
@junxit
junxit deleted the chore/gitignore-claude-local branch November 16, 2026 22:28
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