-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
31 lines (24 loc) · 873 Bytes
/
.gitattributes
File metadata and controls
31 lines (24 loc) · 873 Bytes
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
# WHY-FILE: Normalize line endings and GitHub language classification
# to ensure cross-platform consistency and predictable CI behavior.
# === Core: Text normalization ===
* text=auto
# WHY-SECTION: Explicit EOL rules avoid platform-specific diffs and tool failures.
# === Scripts ===
# Python and shell scripts must always use LF (CI, Linux, macOS, containers)
*.py text eol=lf
*.sh text eol=lf
# PowerShell scripts follow Windows convention
*.ps1 text eol=crlf
# === Docs and configs ===
# Cross-platform; tooling expects LF
*.md text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.toml text eol=lf
# === GitHub Linguist ===
# Improve language statistics and UI without affecting builds
docs/** linguist-documentation
# Jupyter notebooks: custom diff/merge drivers (if configured)
*.ipynb diff=jupyternotebook
*.ipynb merge=jupyternotebook