From 79a781cd558d06441cd20833733a1296cc7458a8 Mon Sep 17 00:00:00 2001 From: JustinOros Date: Mon, 21 Jul 2025 10:24:40 -0700 Subject: [PATCH] Force Python language detection --- .gitattributes | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitattributes b/.gitattributes index 9a65767..e63c196 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,12 +1,16 @@ -# Treat all Python files as Python +# Explicitly set Python files as Python *.py linguist-language=Python -# Treat other files as generated or documentation +# Mark these as documentation or generated (so they don't count toward the primary language) *.md linguist-documentation +*.html linguist-generated +*.htm linguist-generated +*.css linguist-generated +*.js linguist-generated +*.json linguist-generated *.png linguist-generated *.jpg linguist-generated +*.jpeg linguist-generated *.gif linguist-generated LICENSE linguist-documentation -# Optional: force repo language to Python if all else fails -*.tex linguist-language=Python