-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitattributes
More file actions
17 lines (15 loc) · 868 Bytes
/
Copy path.gitattributes
File metadata and controls
17 lines (15 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
# Shell scripts executed inside Linux containers must use LF line endings
# even on Windows checkouts. Prevents `set: pipefail: invalid option name`
# when Windows CRLF endings trip up bash inside the manylinux container.
# `.sh.tmpl` shell templates need the same pin (they lack a `.sh` extension,
# so the rule above misses them) — otherwise a Windows checkout leaves CRLF
# that shellcheck flags as SC1017 and the rendered wrapper breaks on macOS.
*.sh text eol=lf
ci/**/*.sh text eol=lf
*.sh.tmpl text eol=lf
# Jupyter notebooks are LF-normalized JSON. Pin eol=lf so Windows autocrlf
# checkouts don't rewrite every line and produce spurious full-file diffs
# (and so tooling like ruff/nbqa round-trips them cleanly).
*.ipynb text eol=lf