Spaces:
Sleeping
Sleeping
Update .gitattributes
Browse files- .gitattributes +35 -35
.gitattributes
CHANGED
@@ -1,35 +1,35 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
*.
|
7 |
-
*.
|
8 |
-
*.
|
9 |
-
*.
|
10 |
-
*.
|
11 |
-
*.
|
12 |
-
*.
|
13 |
-
|
14 |
-
|
15 |
-
*.
|
16 |
-
*.
|
17 |
-
*.
|
18 |
-
*.
|
19 |
-
*.
|
20 |
-
*.
|
21 |
-
*.
|
22 |
-
*.
|
23 |
-
|
24 |
-
|
25 |
-
*.
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
1 |
+
# .gitattributes
|
2 |
+
# Auto-detect text files and normalize all line endings to LF
|
3 |
+
* text=auto
|
4 |
+
|
5 |
+
# Explicitly declare text files
|
6 |
+
*.py text
|
7 |
+
*.md text
|
8 |
+
*.txt text
|
9 |
+
*.gitattributes text
|
10 |
+
*.css text
|
11 |
+
*.html text
|
12 |
+
*.js text
|
13 |
+
|
14 |
+
# Explicitly declare binary files
|
15 |
+
*.png binary
|
16 |
+
*.jpg binary
|
17 |
+
*.jpeg binary
|
18 |
+
*.gif binary
|
19 |
+
*.pdf binary
|
20 |
+
*.zip binary
|
21 |
+
*.jar binary
|
22 |
+
*.ico binary
|
23 |
+
|
24 |
+
# Ensure GitHub correctly identifies this as a Python project
|
25 |
+
*.py linguist-detectable=true
|
26 |
+
|
27 |
+
# Exclude virtual environment files from language stats
|
28 |
+
venv/** linguist-vendored
|
29 |
+
env/** linguist-vendored
|
30 |
+
.venv/** linguist-vendored
|
31 |
+
|
32 |
+
# Exclude from export (release zip downloads)
|
33 |
+
tests/** export-ignore
|
34 |
+
docs/** export-ignore
|
35 |
+
*.log export-ignore
|