# https://git-scm.com/docs/gitattributes | |
# Set the default behavior, in case people don't have core.autocrlf set. | |
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion | |
* text=auto | |
# common python attributes, taken from https://github.com/alexkaratarakis/gitattributes/blob/710900479a2bedeec7003d381719521ffbb18bf8/Python.gitattributes | |
# Source files | |
# ============ | |
*.pxd text diff=python | |
*.py text diff=python | |
*.py3 text diff=python | |
*.pyw text diff=python | |
*.pyx text diff=python | |
*.pyz text diff=python | |
*.pyi text diff=python | |
# Binary files | |
# ============ | |
*.db binary | |
*.p binary | |
*.pkl binary | |
*.pickle binary | |
*.pyc binary export-ignore | |
*.pyo binary export-ignore | |
*.pyd binary | |
# Jupyter notebook | |
*.ipynb text eol=lf | |