Skip to content

Commit 6e4143e

Browse files
John-zzhzhouzehao.dbsvwxj6000
authored
dos2unix ris.py is the only change (#418)
* rebase to commit 9130de9; dos2unix ris.py is the only change, no need to review * Normalize line endings * Add .gitattributes and normalize line endings --------- Co-authored-by: zhouzehao.dbsv <[email protected]> Co-authored-by: xiaojie.wu <[email protected]>
1 parent 17ac106 commit 6e4143e

File tree

2 files changed

+1728
-1690
lines changed

2 files changed

+1728
-1690
lines changed

.gitattribute

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# --- Normalize all text files ---
2+
* text=auto
3+
4+
# --- Python files ---
5+
*.py text eol=lf
6+
7+
# --- CUDA and C/C++ source files ---
8+
*.cu text eol=lf
9+
*.cuh text eol=lf
10+
*.c text eol=lf
11+
*.cpp text eol=lf
12+
*.h text eol=lf
13+
*.hpp text eol=lf
14+
15+
# --- Scripts and config files ---
16+
*.sh text eol=lf
17+
*.bat text eol=crlf
18+
*.ps1 text eol=crlf
19+
*.yml text eol=lf
20+
*.yaml text eol=lf
21+
*.json text eol=lf
22+
*.md text eol=lf
23+
*.txt text eol=lf
24+
25+
# --- Ignore binary files from normalization ---
26+
*.png binary
27+
*.jpg binary
28+
*.jpeg binary
29+
*.gif binary
30+
*.pdf binary
31+
*.exe binary
32+
*.dll binary
33+
*.so binary
34+
*.a binary
35+
*.pyc binary
36+
*.pyd binary
37+
*.ptx binary
38+
*.cubin binary

0 commit comments

Comments
 (0)