# Autodetect text files by default
* text=auto eol=lf

# Source files
*.pxd    text diff=python
*.py     text diff=python
*.py3    text diff=python
*.pyc    text diff=python
*.pyd    text diff=python
*.pyo    text diff=python
*.pyw    text diff=python
*.pyx    text diff=python
*.pyz    text diff=python

# Binary files
*.db     binary
*.p      binary
*.pkl    binary
*.pickle binary
*.pyc    binary
*.pyd    binary
*.pyo    binary

# Jupyter notebook
*.ipynb  text

# reStructuredText LF
*.rst text eol=lf

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