Skip to content

Exclude Claude tooling scripts from GitHub language statistics.#22

Merged
gustavofreze merged 1 commit into
mainfrom
chore/linguist-php-detection
Jun 27, 2026
Merged

Exclude Claude tooling scripts from GitHub language statistics.#22
gustavofreze merged 1 commit 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.

Copilot AI review requested due to automatic review settings June 27, 2026 12:13

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

Updates repository and scaffolding templates to keep Claude tooling Python scripts out of GitHub Linguist language statistics, while also ignoring Python bytecode artifacts produced by those scripts.

Changes:

  • Mark /.claude/**/*.py as linguist-vendored in .gitattributes (and the corresponding tiny-blocks-create asset).
  • Ignore *.pyc in .gitignore (and add __pycache__/ + *.pyc to the tiny-blocks-create asset).

Reviewed changes

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

File Description
.gitignore Ignores Python bytecode (*.pyc) to avoid committing artifacts from .claude tooling scripts.
.gitattributes Flags .claude Python scripts as linguist-vendored to exclude them from GitHub language stats.
.claude/skills/tiny-blocks-create/assets/config/.gitignore Brings scaffolded .gitignore in line by ignoring __pycache__/ and *.pyc.
.claude/skills/tiny-blocks-create/assets/config/.gitattributes Ensures scaffolded .gitattributes also excludes .claude Python scripts from language stats.

@gustavofreze gustavofreze merged commit 2eae336 into main Jun 27, 2026
8 checks passed
@gustavofreze gustavofreze deleted the chore/linguist-php-detection branch June 27, 2026 12:16
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