Fix GitHub incorrectly identifying Python files as TeX.

This commit is contained in:
justin committed 2025-07-21 10:22:55 -07:00
1 parent cffbb92ea9
commit 2cb4c681c0
1 file changed
+9 -8
+9 -8
View File
@@ -1,11 +1,12 @@
# Force GitHub to detect the project as Python # Treat all Python files as Python
*.py linguist-language=Python *.py linguist-language=Python
# Treat HTML files as generated (if any exist) # Treat other files as generated or documentation
*.html linguist-generated=true *.md linguist-documentation
*.png linguist-generated
# Ignore README, image, and license files from language stats *.jpg linguist-generated
README.md linguist-documentation *.gif linguist-generated
*.png linguist-generated=true
*.jpg linguist-generated=true
LICENSE linguist-documentation LICENSE linguist-documentation
# Optional: force repo language to Python if all else fails
*.tex linguist-language=Python