Skip to content

Exclude Claude tooling scripts from language statistics.#3

Merged
gustavofreze merged 2 commits into
mainfrom
chore/linguist-php-detection
Jun 27, 2026
Merged

Exclude Claude tooling scripts from language statistics.#3
gustavofreze merged 2 commits into
mainfrom
chore/linguist-php-detection

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Please follow the contributing guidelines.

Summary

What this pull request does.

Related issue

Closes #...

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • composer review passes.
  • composer tests passes.

GitHub Linguist computes language shares from the HEAD tree, so
export-ignore does not affect it. In small repos the Python hooks and
skill scripts under .claude outweigh src and Linguist labels the repo
Python. Mark them linguist-vendored and ignore their bytecode cache.
Copilot AI review requested due to automatic review settings June 27, 2026 12:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates repository tooling metadata to exclude Claude-related Python tooling scripts from GitHub language statistics, and adds Python cache ignores related to running those scripts. It also includes a dependency bump that appears unrelated to the stated PR goal.

Changes:

  • Mark .claude/**/*.py as linguist-vendored via .gitattributes (and the tiny-blocks-create config asset equivalent).
  • Ignore Python bytecode/cache artifacts (__pycache__/, *.pyc) (and the tiny-blocks-create config asset equivalent).
  • Bump tiny-blocks/http from ^6.2 to ^6.3 in composer.json.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
composer.json Bumps tiny-blocks/http requirement to ^6.3.
.gitignore Adds ignores for Python cache artifacts.
.gitattributes Marks .claude/**/*.py as linguist-vendored to exclude from language stats.
.claude/skills/tiny-blocks-create/assets/config/.gitignore Mirrors Python cache ignores in the canonical scaffolded config.
.claude/skills/tiny-blocks-create/assets/config/.gitattributes Mirrors linguist-vendored settings in the canonical scaffolded config.

Comment thread composer.json
Comment thread .gitattributes
Comment thread .claude/skills/tiny-blocks-create/assets/config/.gitignore
Comment thread .claude/skills/tiny-blocks-create/assets/config/.gitattributes
@gustavofreze gustavofreze merged commit 5660a2f into main Jun 27, 2026
8 checks passed
@gustavofreze gustavofreze deleted the chore/linguist-php-detection branch June 27, 2026 12:52
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.

2 participants