Force Python language detection
This commit is contained in:
1 parent
2cb4c681c0
commit
79a781cd55
1 file changed
+8
-4
+8
-4
@@ -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
|
||||
Reference in new issue
Block a user