# Auto-detect text files and normalize line endings to LF on checkout. * text=auto eol=lf # Python *.py text diff=python eol=lf *.pyi text diff=python eol=lf # Mermaid source files *.mmd text eol=lf *.mermaid text eol=lf # Markup and config *.md text diff=markdown eol=lf *.txt text eol=lf *.json text eol=lf *.yaml text eol=lf *.yml text eol=lf *.toml text eol=lf *.cfg text eol=lf *.ini text eol=lf *.sh text eol=lf # Git files .gitignore text eol=lf .gitattributes text eol=lf # Binary files — never diff or convert *.png binary *.jpg binary *.jpeg binary *.gif binary *.webp binary *.ico binary *.pdf binary *.zip binary *.tar binary *.gz binary *.bz2 binary # SVG treated as text (it is XML) *.svg text eol=lf # Exports (GitHub Linguist — mark as generated so they do not inflate stats) dist/** linguist-generated build/** linguist-generated # Hugging Face: mark large binaries as LFS candidates *.bin filter=lfs diff=lfs merge=lfs -text *.pt filter=lfs diff=lfs merge=lfs -text *.safetensors filter=lfs diff=lfs merge=lfs -text