Skip to content

HT-8: Repo reports as Python on GitHub #92

Description

@Asherlc

Summary

GitHub's language detection is dominated by tooling, not the app. Verified counts on current main: 134 .py files vs. 64 .swift files. The Python files are concentrated in Tools/HangboardOnboarding (118 of 134: 67 under src/hangboard_vectorizer, 51 under tests), with a handful more under Tools/hold-highlight-editor and scripts/. This is internal tooling (a board-onboarding/vectorizing pipeline), not the shipped iOS app.

Fix

Add a .gitattributes marking the tooling and generated-source directories so they don't count toward the repo's reported language:

Tools/HangboardOnboarding/** linguist-vendored
Tools/hold-highlight-editor/** linguist-vendored
HangTen/Models/GeneratedBoardCatalog.swift linguist-generated

(HangTen/Models/GeneratedBoardCatalog.swift exists and is presumably generated by scripts/export-board-catalog.py — worth confirming the exact generator before marking it, but it reads as generated output, not hand-written source.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions