1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00
gitattributes/Python.gitattributes

30 lines
626 B
Plaintext
Raw Normal View History

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
*.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 export-ignore
*.pyo binary export-ignore
2019-04-21 05:39:50 -04:00
*.pyd binary
2015-01-12 01:21:47 -05: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).