# 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
