# Basic .gitattributes for a python repo.

# Source files
# ============
# Git.
.git*    text eol=lf
# Python.
*.pxd    text diff=python eol=lf
*.py     text diff=python eol=lf
*.py3    text diff=python eol=lf
*.pyw    text diff=python eol=lf
*.pyx    text diff=python eol=lf
*.pyz    text diff=python eol=lf
*.pyi    text diff=python eol=lf
# Yaml
*.yaml   text eol=lf
# Text.
*.rst    text eol=lf
*.txt    text eol=lf
*.md     text eol=lf

# Powershell.
*.ps1    text eol=lf

# Binary files
# ============
# Python.
*.db     binary
*.p      binary
*.pkl    binary
*.pickle binary
*.pyc    binary export-ignore
*.pyo    binary export-ignore
*.pyd    binary

# FITS
*.fits   binary

# Jupyter notebook
*.ipynb  text eol=lf


# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).