forked from streamlit/streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
59 lines (50 loc) · 1.81 KB
/
.gitattributes
File metadata and controls
59 lines (50 loc) · 1.81 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
###############################################################################
# Streamlit git attributes
#
# Goals:
# - Reduce diff noise by normalizing text line endings
# - Avoid treating binary files as text
# - Mark generated/vendored files so GitHub Linguist excludes them from language
# stats and (often) from diffs/search emphasis
###############################################################################
# Normalize line endings across platforms.
# This matches our `.editorconfig` (end_of_line = lf).
* text=auto eol=lf
###############################################################################
# Binary files (prevent text conversions / diffs)
###############################################################################
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.tgz binary
*.bz2 binary
*.xz binary
*.7z binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.mp3 binary
*.mp4 binary
*.webm binary
*.wav binary
###############################################################################
# Generated files (GitHub Linguist)
###############################################################################
# Generated lookup tables
lib/streamlit/emojis.py linguist-generated=true
lib/streamlit/material_icon_names.py linguist-generated=true
# Lockfiles (treat as generated/noise for language stats)
frontend/yarn.lock linguist-generated=true
# NOTE: Keeping E2E snapshots marked as not generated so that GitHub reviews
# don't auto-collapse them.
###############################################################################
# Vendored code (GitHub Linguist)
###############################################################################
lib/streamlit/vendor/** linguist-vendored=true