Exclude Claude tooling scripts from language statistics.#30
Merged
Conversation
Mark .claude Python scripts as linguist-vendored so GitHub Linguist detects the repository as PHP, and ignore __pycache__ and *.pyc to keep hook caches out of the index. The same change lands in the tiny-blocks-create scaffold templates. Dependency floors for composer-normalize, infection, and phpstan are bumped in the same commit.
There was a problem hiding this comment.
Pull request overview
This pull request tunes repository metadata and scaffolding assets so GitHub Linguist reports the project primarily as PHP by vendoring Claude’s Python hook scripts, while also keeping Python bytecode caches out of the index. It also raises the minimum dev-tooling versions to the updated canonical floors used across the tiny-blocks ecosystem.
Changes:
- Bump
require-devfloors for composer-normalize, infection, and phpstan. - Mark
/.claude/**/*.pyaslinguist-vendoredand ignore__pycache__/and*.pyc. - Mirror the
.gitattributes/.gitignoreupdates into thetiny-blocks-createscaffold assets.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| composer.json | Raises dev-tool dependency floors (composer-normalize, infection, phpstan). |
| .gitignore | Ignores Python hook cache artifacts (__pycache__/, *.pyc). |
| .gitattributes | Excludes .claude Python scripts from Linguist language stats via linguist-vendored. |
| .claude/skills/tiny-blocks-create/assets/config/.gitignore | Keeps scaffold templates aligned with new ignore rules for Python caches. |
| .claude/skills/tiny-blocks-create/assets/config/.gitattributes | Keeps scaffold templates aligned with new Linguist vendoring rule. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mark .claude Python scripts as linguist-vendored so GitHub Linguist detects the repository as PHP, and ignore pycache and *.pyc to keep hook caches out of the index. The same change lands in the tiny-blocks-create scaffold templates. Dependency floors for composer-normalize, infection, and phpstan are bumped in the same commit.
Summary
What this pull request does.
Related issue
Closes #...
Checklist
composer reviewpasses.composer testspasses.