2015-01-12 01:21:47 -05:00
|
|
|
# Basic .gitattributes for a python repo.
|
|
|
|
|
|
|
|
# Source files
|
|
|
|
# ============
|
2019-04-21 05:39:50 -04:00
|
|
|
*.pxd text diff=python
|
|
|
|
*.py text diff=python
|
|
|
|
*.py3 text diff=python
|
|
|
|
*.pyw text diff=python
|
|
|
|
*.pyx text diff=python
|
2019-07-16 23:18:38 -04:00
|
|
|
*.pyz text diff=python
|
2020-04-14 15:15:30 -04:00
|
|
|
*.pyi text diff=python
|
2015-01-12 01:21:47 -05:00
|
|
|
|
|
|
|
# Binary files
|
|
|
|
# ============
|
2019-04-21 05:39:50 -04:00
|
|
|
*.db binary
|
|
|
|
*.p binary
|
|
|
|
*.pkl binary
|
|
|
|
*.pickle binary
|
|
|
|
*.pyc binary
|
|
|
|
*.pyd binary
|
|
|
|
*.pyo binary
|
2015-01-12 01:21:47 -05:00
|
|
|
|
2019-07-16 23:18:38 -04:00
|
|
|
# Jupyter notebook
|
|
|
|
*.ipynb text
|
|
|
|
|
2015-01-12 01:21:47 -05:00
|
|
|
# Note: .db, .p, and .pkl files are associated
|
|
|
|
# with the python modules ``pickle``, ``dbm.*``,
|
|
|
|
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
|
2018-06-20 05:54:30 -04:00
|
|
|
# (among others).
|