chinese-translator-paste / .gitattributes
algorembrant's picture
Upload 8 files
b03b79f verified
# ════════════════════════════════════════════════════════════════════════
# ChineseFileTranslator β€” .gitattributes
# Author: algorembrant
# ════════════════════════════════════════════════════════════════════════
# ── Default: normalize all text files to LF on commit ────────────────────
* text=auto eol=lf
# ── Python source files ───────────────────────────────────────────────────
*.py text eol=lf diff=python
# ── Markdown and documentation ────────────────────────────────────────────
*.md text eol=lf
*.rst text eol=lf
*.txt text eol=lf
# ── Config and data files ─────────────────────────────────────────────────
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.toml text eol=lf
*.cfg text eol=lf
*.ini text eol=lf
*.env text eol=lf
# ── Shell scripts ─────────────────────────────────────────────────────────
*.sh text eol=lf
*.bash text eol=lf
# ── Windows batch scripts (CRLF required) ─────────────────────────────────
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# ── Binary files β€” do not modify line endings ─────────────────────────────
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.bmp binary
*.ico binary
*.svg binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.whl binary
# ── HuggingFace Large File Storage (LFS) β€” model weights ──────────────────
# Uncomment if storing model checkpoints in this repo
# *.bin filter=lfs diff=lfs merge=lfs -text
# *.safetensors filter=lfs diff=lfs merge=lfs -text
# *.pt filter=lfs diff=lfs merge=lfs -text
# *.ckpt filter=lfs diff=lfs merge=lfs -text
# *.h5 filter=lfs diff=lfs merge=lfs -text
# ── Linguist overrides (GitHub language detection) ────────────────────────
*.md linguist-documentation
*.txt linguist-documentation
requirements.txt linguist-documentation
# ── Export-ignore (files excluded from git archive / release tarballs) ────
.gitattributes export-ignore
.gitignore export-ignore
.github/ export-ignore
tests/ export-ignore