Fix GitHub incorrectly identifying Python files as TeX.
This commit is contained in:
+9
-8
@@ -1,11 +1,12 @@
|
||||
# Force GitHub to detect the project as Python
|
||||
# Treat all Python files as Python
|
||||
*.py linguist-language=Python
|
||||
|
||||
# Treat HTML files as generated (if any exist)
|
||||
*.html linguist-generated=true
|
||||
|
||||
# Ignore README, image, and license files from language stats
|
||||
README.md linguist-documentation
|
||||
*.png linguist-generated=true
|
||||
*.jpg linguist-generated=true
|
||||
# Treat other files as generated or documentation
|
||||
*.md linguist-documentation
|
||||
*.png linguist-generated
|
||||
*.jpg linguist-generated
|
||||
*.gif linguist-generated
|
||||
LICENSE linguist-documentation
|
||||
|
||||
# Optional: force repo language to Python if all else fails
|
||||
*.tex linguist-language=Python
|
||||
|
||||
Reference in New Issue
Block a user