-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy path.gitattributes
More file actions
14 lines (13 loc) · 896 Bytes
/
Copy path.gitattributes
File metadata and controls
14 lines (13 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Normalize line endings to LF on checkout, including on Windows, where
# git's default core.autocrlf=true otherwise converts text files to CRLF.
# tests/ui/test_operator_*.py string/regex-strips import lines out of
# src/aiperf/operator/ui/lib/*.js before eval'ing them as data: URL modules;
# that stripping assumes LF and silently no-ops on CRLF, leaving the original
# relative import in place and breaking module resolution on Windows CI.
* text=auto eol=lf
# Vendored third-party sources are checked out byte-for-byte on every platform.
# Their value is being identical to a pinned upstream commit, and CI asserts a
# sha256 over the raw bytes -- newline conversion on Windows checkouts would
# change the digest without changing the content. This must stay last: later
# patterns win, so the blanket rule above would otherwise re-normalize them.
src/aiperf/dataset/loader/vendor/** -text