1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
# Basic .gitattributes for a python repo.
# Adapted from https://github.com/alexkaratarakis/gitattributes/blob/master/Python.gitattributes
* text=auto
# Markdown
*.md text diff=markdown
# shell files
*.sh text eol=lf
# Source files
# ============
*.pxd text eol=lf diff=python
*.py text eol=lf diff=python
*.py3 text eol=lf diff=python
*.pyw text eol=lf diff=python
*.pyx text eol=lf diff=python
*.pyz text eol=lf diff=python
*.pyi text eol=lf 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
|