forked from secretflow/spu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
53 lines (39 loc) · 884 Bytes
/
.gitattributes
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
# Common settings that generally should always be used with your language specific settings
# Auto detect text files and perform LF normalization
* text=auto
#
# The above will handle all files NOT found below
#
# Documents
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text diff=markdown
# Scripts
*.sh text eol=lf
# Serialization
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
# Text files where line endings should be preserved
*.patch -text
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore
# C++ sources
*.cc text diff=cpp
*.h text diff=cpp
# Basic .gitattributes for a python repo.
# Python source files
# ============
*.py text diff=python
# Jupyter notebook
*.ipynb text eol=lf
# Bazel
*.bzl linguist-language=Python
*.bazel linguist-language=Python
BUILD linguist-language=Python
.bazelversion text eol=lf