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
|
*.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
|
||||||
|
|||||||
Reference in New Issue
Block a user