Modular_Intelligence / .gitattributes
botbottingbot's picture
Update .gitattributes
c679b29 verified
# -------------------------------
# Encoding and EOL Normalization
# -------------------------------
* text=auto eol=lf
*.py text eol=lf
*.json text eol=lf
*.md text eol=lf
*.txt text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
# -------------------------------
# Linguist Overrides (GitHub)
# Ensures correct language stats
# -------------------------------
*.json linguist-detectable=true
*.py linguist-detectable=true
*.md linguist-detectable=true
*.txt linguist-detectable=true
# Do not count dependencies or HF build artifacts in language stats
requirements.txt linguist-documentation
README.md linguist-documentation
diagram.txt linguist-documentation
# HuggingFace Space metadata
*.yaml linguist-generated=true
# -------------------------------
# Binary Files
# -------------------------------
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.svg binary
*.ico binary
*.pdf binary
# -------------------------------
# Model files (if added later)
# Treat as binary; avoid corruption
# -------------------------------
*.bin binary
*.pt binary
*.pth binary
*.safetensors binary
*.onnx binary
# -------------------------------
# HuggingFace Cache / Non-essential
# -------------------------------
*.lock text eol=lf
.cache/* linguist-generated=true export-ignore
logs/* linguist-generated=true export-ignore
# -------------------------------
# Prevent accidental commits
# -------------------------------
secret* export-ignore
*.env export-ignore
*.key export-ignore
*.pem export-ignore
# -------------------------------
# End
# -------------------------------